Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001158/0.001157, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001048/0.001048, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.89 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8548/0.8563, allocations: 151.6 MB / 1.167 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004219/0.8605, allocations: 2.639 MB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002243/0.8628, allocations: 1.309 MB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.863, allocations: 7.938 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.8638, allocations: 184.6 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004879/0.8643, allocations: 167.3 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.8648, allocations: 155.7 kB / 1.172 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.8652, allocations: 263.2 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.8655, allocations: 147.8 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.8658, allocations: 99.61 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.8661, allocations: 143.5 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.8661, allocations: 16 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.8664, allocations: 143.7 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.8665, allocations: 63.88 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.8666, allocations: 95.45 kB / 1.173 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.867, allocations: 285 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.867, allocations: 4 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.993e-06/0.867, allocations: 0 / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.867, allocations: 0 / 1.173 GB, free: 14.29 MB / 0.9044 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.000858/0.8679, allocations: 0.5027 MB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.8679, allocations: 8.922 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000521/0.8685, allocations: 64.67 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.8688, allocations: 255.8 kB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.8688, allocations: 8.656 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.8689, allocations: 12.38 kB / 1.174 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.8694, allocations: 308.9 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.8694, allocations: 0 / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.8694, allocations: 8 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.8695, allocations: 32.25 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.87, allocations: 256.5 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.8717, allocations: 1.498 MB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.8722, allocations: 257.8 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.8724, allocations: 125.6 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.8724, allocations: 7.938 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.8725, allocations: 34.56 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.8725, allocations: 0 / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0007874/0.8733, allocations: 346.7 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.8733, allocations: 81.11 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.8735, allocations: 175.7 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.8736, allocations: 29.7 kB / 1.177 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.8737, allocations: 148 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.8737, allocations: 47.27 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.59e-05/0.8738, allocations: 49.69 kB / 1.177 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8739, allocations: 330.8 kB / 1.177 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.8741, allocations: 104.8 kB / 1.177 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.8744, allocations: 169.8 kB / 1.178 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.8749, allocations: 280.5 kB / 1.178 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.8749, allocations: 4 kB / 1.178 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005556/0.8755, allocations: 307.3 kB / 1.178 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.8755, allocations: 4 kB / 1.178 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.8755, allocations: 4 kB / 1.178 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.8755, allocations: 8.219 kB / 1.178 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.8758, allocations: 55.89 kB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.8758, allocations: 4 kB / 1.178 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.876, allocations: 35.81 kB / 1.178 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.8761, allocations: 4 kB / 1.178 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002531/0.8763, allocations: 196 kB / 1.178 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002197/0.8765, allocations: 156.5 kB / 1.179 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003888/0.8769, allocations: 251.5 kB / 1.179 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.877, allocations: 3.984 kB / 1.179 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004944/0.8775, allocations: 284 kB / 1.179 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.8775, allocations: 8 kB / 1.179 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.8775, allocations: 0 / 1.179 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-06/0.8775, allocations: 4 kB / 1.179 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.8777, allocations: 51.95 kB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.8777, allocations: 7.875 kB / 1.179 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.8779, allocations: 27.83 kB / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.8779, allocations: 12.22 kB / 1.179 GB, free: 7.336 MB / 0.9044 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.0001232/0.8781, allocations: 196.2 kB / 1.179 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.8781, allocations: 15.81 kB / 1.179 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.8787, allocations: 270.9 kB / 1.18 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.8787, allocations: 0 / 1.18 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.8787, allocations: 3.984 kB / 1.18 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.8787, allocations: 3.984 kB / 1.18 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.8797, allocations: 0.6771 MB / 1.18 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8797, allocations: 0 / 1.18 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.88, allocations: 43.95 kB / 1.18 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.88, allocations: 4 kB / 1.18 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.88, allocations: 19.98 kB / 1.18 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.88, allocations: 4 kB / 1.18 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.88, allocations: 3.938 kB / 1.18 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.8805, allocations: 453.8 kB / 1.181 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.8807, allocations: 108.9 kB / 1.181 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.8807, allocations: 11.94 kB / 1.181 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.8809, allocations: 19.97 kB / 1.181 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.881, allocations: 11.98 kB / 1.181 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.881, allocations: 4 kB / 1.181 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00012/0.8812, allocations: 139.7 kB / 1.181 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8812, allocations: 0 / 1.181 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004871/0.8816, allocations: 79.84 kB / 1.181 GB, free: 5.16 MB / 0.9044 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.0001315/0.8818, allocations: 111.7 kB / 1.181 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007509/0.8825, allocations: 369.3 kB / 1.182 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8826, allocations: 0 / 1.182 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.8828, allocations: 119.8 kB / 1.182 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.8833, allocations: 44.33 kB / 1.182 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.8841, allocations: 484.9 kB / 1.182 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.8844, allocations: 0.748 MB / 1.183 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.716e-05/0.8845, allocations: 19.44 kB / 1.183 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of SimCode: time 1.933e-06/0.8846, allocations: 0 / 1.183 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of Templates: time 0.004614/0.8892, allocations: 2.61 MB / 1.186 GB, free: 0.6094 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches