Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 105.4 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 64.12 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8619/0.8634, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004373/0.8679, allocations: 2.65 MB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.8701, allocations: 1.313 MB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.8703, allocations: 4 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007814/0.8712, allocations: 183.2 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004612/0.8716, allocations: 163.3 kB / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.8721, allocations: 159.7 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00039/0.8725, allocations: 267.1 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.8728, allocations: 135.2 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.873, allocations: 103.7 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.8733, allocations: 123.6 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.8734, allocations: 20 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.8737, allocations: 147.6 kB / 1.214 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.881e-05/0.8738, allocations: 71.8 kB / 1.214 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.8739, allocations: 91.52 kB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.8743, allocations: 292.7 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.8743, allocations: 0 / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8743, allocations: 3.938 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.8743, allocations: 0 / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009287/0.8753, allocations: 0.495 MB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.8753, allocations: 12.03 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005469/0.8759, allocations: 64.67 kB / 1.215 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.8762, allocations: 247.9 kB / 1.215 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.8762, allocations: 8.656 kB / 1.215 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.8762, allocations: 8.375 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.8768, allocations: 316.7 kB / 1.215 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.8768, allocations: 4 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.8768, allocations: 3.984 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/0.8769, allocations: 28.27 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/0.8774, allocations: 264.5 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.8791, allocations: 1.498 MB / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.8796, allocations: 253.1 kB / 1.217 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.8798, allocations: 129.6 kB / 1.217 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.8799, allocations: 7.984 kB / 1.217 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.8799, allocations: 34.56 kB / 1.217 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.8799, allocations: 0 / 1.217 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007578/0.8807, allocations: 346.6 kB / 1.218 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.8807, allocations: 81.11 kB / 1.218 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.8809, allocations: 175.1 kB / 1.218 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.881, allocations: 33.7 kB / 1.218 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.881, allocations: 140 kB / 1.218 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.8811, allocations: 51.27 kB / 1.218 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.8812, allocations: 41.7 kB / 1.218 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8813, allocations: 330.8 kB / 1.218 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.8815, allocations: 112.7 kB / 1.218 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.8818, allocations: 165.7 kB / 1.219 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.8823, allocations: 286.6 kB / 1.219 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8823, allocations: 0 / 1.219 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005522/0.8828, allocations: 302.5 kB / 1.219 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.8829, allocations: 8 kB / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.8829, allocations: 0 / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.8829, allocations: 7.984 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.8832, allocations: 60.11 kB / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.8832, allocations: 0 / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.8834, allocations: 35.81 kB / 1.219 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.8835, allocations: 4 kB / 1.219 GB, free: 2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002623/0.8837, allocations: 203.9 kB / 1.22 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002168/0.884, allocations: 162.8 kB / 1.22 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003973/0.8844, allocations: 258.4 kB / 1.22 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.8844, allocations: 0 / 1.22 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005021/0.8849, allocations: 277.2 kB / 1.22 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.8849, allocations: 7.984 kB / 1.22 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.8849, allocations: 8 kB / 1.22 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.8849, allocations: 0 / 1.22 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.8851, allocations: 51.91 kB / 1.22 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8852, allocations: 3.984 kB / 1.22 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.8853, allocations: 31.81 kB / 1.22 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.8854, allocations: 8 kB / 1.22 GB, free: 0.9453 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.8855, allocations: 200.4 kB / 1.22 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.8856, allocations: 15.81 kB / 1.22 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005491/0.8861, allocations: 267 kB / 1.221 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8861, allocations: 0 / 1.221 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8861, allocations: 0 / 1.221 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.8862, allocations: 7.984 kB / 1.221 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.8873, allocations: 0.6849 MB / 1.221 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.8873, allocations: 0 / 1.221 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.8875, allocations: 47.89 kB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.8875, allocations: 4 kB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.8876, allocations: 7.938 kB / 1.221 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.8876, allocations: 8.125 kB / 1.221 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8876, allocations: 0 / 1.221 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/0.8881, allocations: 449.8 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.8883, allocations: 112.9 kB / 1.222 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.8883, allocations: 11.94 kB / 1.222 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.8885, allocations: 15.97 kB / 1.222 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.8886, allocations: 15.98 kB / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.8886, allocations: 4 kB / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001133/0.8887, allocations: 131.2 kB / 1.222 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8887, allocations: 4 kB / 1.222 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000514/0.8892, allocations: 83.84 kB / 1.222 GB, free: 14.77 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.8894, allocations: 109.1 kB / 1.222 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007619/0.8902, allocations: 376.3 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8902, allocations: 0 / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.8904, allocations: 111.9 kB / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.8909, allocations: 49.55 kB / 1.223 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.8918, allocations: 492.2 kB / 1.223 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.8922, allocations: 0.7441 MB / 1.224 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.8923, allocations: 27.42 kB / 1.224 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8923, allocations: 0 / 1.224 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of Templates: time 0.005064/0.8974, allocations: 2.587 MB / 1.227 GB, free: 10.23 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches