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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001632/0.001632, allocations: 99.52 kB / 16.35 MB, free: 5.828 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.001811/0.001812, allocations: 197.6 kB / 17.3 MB, free: 5.484 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.463/2.463, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 68.06 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3497, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004284/0.354, allocations: 2.657 MB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.356, allocations: 1.324 MB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3562, allocations: 7.938 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.3569, allocations: 175.3 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.3573, allocations: 167.3 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.3577, allocations: 162.8 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.358, allocations: 263.1 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.3584, allocations: 133.5 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.3586, allocations: 111.6 kB / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.3588, allocations: 123.5 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.3589, allocations: 16 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.3591, allocations: 147.7 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.235e-05/0.3592, allocations: 71.81 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.3593, allocations: 91.52 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.3597, allocations: 291 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3597, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3597, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.3597, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 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.000824/0.3606, allocations: 0.4884 MB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3606, allocations: 12.03 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005149/0.3611, allocations: 72.56 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.3615, allocations: 247.9 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.3616, allocations: 8.656 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.3616, allocations: 16.36 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.3622, allocations: 316.9 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3622, allocations: 0 / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.3622, allocations: 0 / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.3623, allocations: 32.27 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.3628, allocations: 265.1 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.3645, allocations: 1.494 MB / 1.035 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.3649, allocations: 257.1 kB / 1.035 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.3652, allocations: 125.6 kB / 1.036 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.3653, allocations: 11.94 kB / 1.036 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.3653, allocations: 34.56 kB / 1.036 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.684e-06/0.3653, allocations: 0 / 1.036 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0008192/0.3661, allocations: 345.2 kB / 1.036 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3662, allocations: 77.11 kB / 1.036 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.3664, allocations: 180.1 kB / 1.036 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3664, allocations: 29.7 kB / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.3665, allocations: 140 kB / 1.036 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.3666, allocations: 51.3 kB / 1.036 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.661e-05/0.3667, allocations: 45.61 kB / 1.036 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3668, allocations: 330.8 kB / 1.037 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.367, allocations: 104.8 kB / 1.037 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.3673, allocations: 169.1 kB / 1.037 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.3677, allocations: 278.7 kB / 1.037 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3677, allocations: 0 / 1.037 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005466/0.3683, allocations: 313.1 kB / 1.038 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3683, allocations: 8 kB / 1.038 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3683, allocations: 0 / 1.038 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3683, allocations: 7.938 kB / 1.038 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.3686, allocations: 55.89 kB / 1.038 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.3686, allocations: 7.984 kB / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.3688, allocations: 35.98 kB / 1.038 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.3689, allocations: 11.98 kB / 1.038 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002674/0.3692, allocations: 196 kB / 1.038 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002511/0.3694, allocations: 155 kB / 1.038 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004182/0.3698, allocations: 254.5 kB / 1.038 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.3699, allocations: 0 / 1.038 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005102/0.3704, allocations: 277.1 kB / 1.039 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3704, allocations: 8.188 kB / 1.039 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3704, allocations: 8 kB / 1.039 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/0.3704, allocations: 4 kB / 1.039 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.3706, allocations: 47.95 kB / 1.039 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3706, allocations: 7.938 kB / 1.039 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.3708, allocations: 31.81 kB / 1.039 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3708, allocations: 4 kB / 1.039 GB, free: 5.383 MB / 0.8106 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.000182/0.371, allocations: 188.2 kB / 1.039 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.3711, allocations: 15.91 kB / 1.039 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006127/0.3717, allocations: 281.6 kB / 1.039 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3718, allocations: 0 / 1.039 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3718, allocations: 4 kB / 1.039 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3718, allocations: 0 / 1.039 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.373, allocations: 0.681 MB / 1.04 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.373, allocations: 0 / 1.04 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.3733, allocations: 51.94 kB / 1.04 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3733, allocations: 4 kB / 1.04 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.3733, allocations: 7.938 kB / 1.04 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3733, allocations: 7.938 kB / 1.04 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3733, allocations: 0 / 1.04 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006185/0.374, allocations: 450 kB / 1.04 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3741, allocations: 116.8 kB / 1.04 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.3742, allocations: 15.94 kB / 1.04 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.3744, allocations: 11.98 kB / 1.04 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.3744, allocations: 15.98 kB / 1.04 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3745, allocations: 7.984 kB / 1.04 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001305/0.3746, allocations: 131.2 kB / 1.041 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3746, allocations: 0 / 1.041 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004983/0.3751, allocations: 83.84 kB / 1.041 GB, free: 3.211 MB / 0.8106 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.0001867/0.3753, allocations: 103.2 kB / 1.041 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007764/0.3761, allocations: 372.4 kB / 1.041 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3761, allocations: 7.938 kB / 1.041 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.3763, allocations: 115.9 kB / 1.041 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.3768, allocations: 49.11 kB / 1.041 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.3776, allocations: 442.6 kB / 1.042 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3779, allocations: 0.748 MB / 1.042 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.3781, allocations: 73.47 kB / 1.042 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.3782, allocations: 19.42 kB / 1.042 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of SimCode: time 5.81e-07/0.3782, allocations: 0 / 1.042 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.005622/0.3838, allocations: 2.303 MB / 1.045 GB, free: 14.95 MB / 0.8262 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 -s gbode -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