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.001731/0.001731, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001709/0.001709, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.16 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.732/2.732, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 68.12 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9753/0.9769, allocations: 151.6 MB / 1.167 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005037/0.982, allocations: 2.655 MB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002728/0.9848, allocations: 1.305 MB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.985, allocations: 4 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009015/0.986, allocations: 192.9 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005803/0.9866, allocations: 163.3 kB / 1.172 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.9871, allocations: 159.7 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.9875, allocations: 263.2 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.9879, allocations: 145.4 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.9882, allocations: 111.6 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.9885, allocations: 123.6 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.9885, allocations: 15.94 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.9889, allocations: 151.6 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.989, allocations: 59.81 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.9891, allocations: 95.53 kB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.9896, allocations: 292.8 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.9896, allocations: 0 / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9896, allocations: 4 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.9897, allocations: 0 / 1.173 GB, free: 14.2 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.0009747/0.9906, allocations: 0.4949 MB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.9907, allocations: 8.031 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005598/0.9913, allocations: 64.67 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.9916, allocations: 247.8 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.9916, allocations: 16.66 kB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.9917, allocations: 12.38 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.9922, allocations: 300.9 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.9923, allocations: 0 / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.9923, allocations: 15.98 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/0.9924, allocations: 32.19 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.9929, allocations: 256.6 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.9947, allocations: 1.494 MB / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.9952, allocations: 261 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.9955, allocations: 129.6 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.9955, allocations: 3.984 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.9956, allocations: 38.55 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.9956, allocations: 4 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0008337/0.9964, allocations: 338.9 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.9965, allocations: 85.09 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.9967, allocations: 171.7 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.9967, allocations: 25.7 kB / 1.177 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.9968, allocations: 148 kB / 1.177 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.9969, allocations: 51.39 kB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.997, allocations: 49.69 kB / 1.177 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9971, allocations: 326.8 kB / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.9974, allocations: 112.7 kB / 1.177 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.9977, allocations: 164.9 kB / 1.178 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.9982, allocations: 281 kB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.9982, allocations: 0 / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006155/0.9988, allocations: 309.4 kB / 1.178 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.9988, allocations: 7.938 kB / 1.178 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.9988, allocations: 4 kB / 1.178 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.9989, allocations: 0 / 1.178 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.9992, allocations: 59.89 kB / 1.178 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.9992, allocations: 4 kB / 1.178 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.9994, allocations: 27.81 kB / 1.178 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.9994, allocations: 12 kB / 1.178 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002635/0.9997, allocations: 199.9 kB / 1.178 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000228/0.9999, allocations: 154.8 kB / 1.179 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004091/1, allocations: 255.1 kB / 1.179 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/1, allocations: 4 kB / 1.179 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005295/1.001, allocations: 273.2 kB / 1.179 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.001, allocations: 10.66 kB / 1.179 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/1.001, allocations: 7.938 kB / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/1.001, allocations: 4 kB / 1.179 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/1.001, allocations: 56.14 kB / 1.179 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.001, allocations: 8 kB / 1.179 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/1.001, allocations: 23.83 kB / 1.179 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/1.001, allocations: 12 kB / 1.179 GB, free: 7.254 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.0001307/1.002, allocations: 196.1 kB / 1.179 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/1.002, allocations: 15.81 kB / 1.179 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/1.002, allocations: 263 kB / 1.18 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/1.002, allocations: 7.984 kB / 1.18 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.002, allocations: 4 kB / 1.18 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/1.002, allocations: 108.8 kB / 1.18 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/1.002, allocations: 7.938 kB / 1.18 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/1.003, allocations: 27.95 kB / 1.18 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/1.003, allocations: 15.92 kB / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000773/1.004, allocations: 419.2 kB / 1.18 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005577/1.004, allocations: 0.4899 MB / 1.181 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000196/1.004, allocations: 103.9 kB / 1.181 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001092/1.004, allocations: 139.8 kB / 1.181 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of Backend: time 2.9e-07/1.004, allocations: 0 / 1.181 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001197/1.006, allocations: 442 kB / 1.181 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001093/1.007, allocations: 0.8009 MB / 1.182 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of Templates: time 0.00872/1.015, allocations: 4.015 MB / 1.186 GB, free: 136 kB / 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