Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001558/0.001558, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001934/0.001935, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.3 MB / 0.665 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 75.86 kB / 0.8127 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6575, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003536/0.6611, allocations: 2.689 MB / 0.9524 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.6628, allocations: 1.31 MB / 0.9537 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.884e-05/0.6629, allocations: 7.188 kB / 0.9537 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.6635, allocations: 168.7 kB / 0.9539 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.6639, allocations: 152 kB / 0.954 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.6642, allocations: 148.2 kB / 0.9541 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.6645, allocations: 261.5 kB / 0.9544 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.6648, allocations: 156.2 kB / 0.9545 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.665, allocations: 106.1 kB / 0.9546 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.6652, allocations: 139.1 kB / 0.9548 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.6653, allocations: 14.25 kB / 0.9548 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.6655, allocations: 148.3 kB / 0.9549 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.6656, allocations: 66.8 kB / 0.955 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/0.6657, allocations: 92.81 kB / 0.9551 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.6659, allocations: 228.5 kB / 0.9553 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6659, allocations: 0 / 0.9553 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.666, allocations: 1.531 kB / 0.9553 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.666, allocations: 4 kB / 0.9553 GB, free: 5.055 MB / 0.7169 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.0007248/0.6667, allocations: 498 kB / 0.9558 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.6667, allocations: 10.62 kB / 0.9558 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/0.6672, allocations: 67.2 kB / 0.9559 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.6675, allocations: 242 kB / 0.9561 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.6675, allocations: 10.38 kB / 0.9561 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.6675, allocations: 15.16 kB / 0.9561 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.6681, allocations: 319.3 kB / 0.9564 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6681, allocations: 0 / 0.9564 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.6681, allocations: 9.734 kB / 0.9564 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.6682, allocations: 22.2 kB / 0.9564 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.6687, allocations: 263.4 kB / 0.9567 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.6702, allocations: 1.505 MB / 0.9582 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.6709, allocations: 254.2 kB / 0.9584 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.6712, allocations: 127.4 kB / 0.9585 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.6713, allocations: 5.109 kB / 0.9585 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.6713, allocations: 44.94 kB / 0.9586 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.6713, allocations: 0 / 0.9586 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0007158/0.672, allocations: 342.7 kB / 0.9589 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.6721, allocations: 78.48 kB / 0.959 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.6722, allocations: 173.2 kB / 0.9591 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.6722, allocations: 34.67 kB / 0.9592 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.6723, allocations: 145 kB / 0.9593 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.6723, allocations: 46.64 kB / 0.9594 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/0.6724, allocations: 46.95 kB / 0.9594 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.6725, allocations: 331.1 kB / 0.9597 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.6727, allocations: 108.7 kB / 0.9598 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.6729, allocations: 169.9 kB / 0.96 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.6734, allocations: 283.4 kB / 0.9603 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6734, allocations: 1.062 kB / 0.9603 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005577/0.674, allocations: 307 kB / 0.9606 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.674, allocations: 10.47 kB / 0.9606 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.674, allocations: 5.047 kB / 0.9606 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.674, allocations: 3.344 kB / 0.9606 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.6743, allocations: 58.7 kB / 0.9606 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.6743, allocations: 3.469 kB / 0.9606 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.6745, allocations: 37.72 kB / 0.9607 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.6746, allocations: 10.91 kB / 0.9607 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002367/0.6748, allocations: 195 kB / 0.9609 GB, free: 492 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001963/0.675, allocations: 149.5 kB / 0.961 GB, free: 364 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003544/0.6754, allocations: 258.7 kB / 0.9612 GB, free: 180 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.6754, allocations: 0 / 0.9612 GB, free: 180 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004913/0.6759, allocations: 269.8 kB / 0.9615 GB, free: 36 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.6759, allocations: 11.27 kB / 0.9615 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6759, allocations: 2.906 kB / 0.9615 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.6759, allocations: 6.844 kB / 0.9615 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.6761, allocations: 49.62 kB / 0.9616 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.6761, allocations: 2.406 kB / 0.9616 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.6763, allocations: 35.38 kB / 0.9616 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.6764, allocations: 10.88 kB / 0.9616 GB, free: 15.98 MB / 0.7325 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.0001286/0.6765, allocations: 192.3 kB / 0.9618 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.6766, allocations: 15.56 kB / 0.9618 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005629/0.6771, allocations: 277 kB / 0.9621 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.6771, allocations: 3.094 kB / 0.9621 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6772, allocations: 0 / 0.9621 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6772, allocations: 1.344 kB / 0.9621 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.6783, allocations: 0.6813 MB / 0.9628 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.6783, allocations: 2.688 kB / 0.9628 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.6785, allocations: 42.08 kB / 0.9628 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.6785, allocations: 2.938 kB / 0.9628 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.6786, allocations: 10.66 kB / 0.9628 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.6786, allocations: 5.375 kB / 0.9628 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6786, allocations: 1.688 kB / 0.9628 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.6791, allocations: 453.2 kB / 0.9632 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6792, allocations: 112 kB / 0.9634 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.6793, allocations: 14.28 kB / 0.9634 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.6795, allocations: 17.31 kB / 0.9634 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.6796, allocations: 22.06 kB / 0.9634 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.6796, allocations: 5.125 kB / 0.9634 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000114/0.6797, allocations: 128 kB / 0.9635 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6797, allocations: 0 / 0.9635 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004898/0.6802, allocations: 84.69 kB / 0.9636 GB, free: 14.43 MB / 0.7325 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.0001318/0.6804, allocations: 117.4 kB / 0.9637 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007736/0.6811, allocations: 377.1 kB / 0.9641 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.6812, allocations: 1.469 kB / 0.9641 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.6814, allocations: 126.1 kB / 0.9642 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.6819, allocations: 36.88 kB / 0.9642 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.6828, allocations: 0.5339 MB / 0.9648 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.6832, allocations: 0.7474 MB / 0.9655 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.6833, allocations: 18.84 kB / 0.9655 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.6833, allocations: 0 / 0.9655 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.004757/0.688, allocations: 2.579 MB / 0.968 GB, free: 11.59 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches