Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 107.5 kB / 16.41 MB, free: 6.504 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.00137/0.00137, allocations: 192.3 kB / 17.35 MB, free: 5.758 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.337/1.337, 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 11.0.0-master/package.mo): time 2.607/2.607, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 59.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8155/0.817, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006614/0.8237, allocations: 4.211 MB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004894/0.8286, allocations: 2.805 MB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004331/0.8291, allocations: 11.94 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.8303, allocations: 361.5 kB / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.8315, allocations: 426.1 kB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.8328, allocations: 0.4985 MB / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.8338, allocations: 0.697 MB / 1.217 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000612/0.8345, allocations: 351 kB / 1.217 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.835, allocations: 263.1 kB / 1.218 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006647/0.8357, allocations: 338.8 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.8358, allocations: 40 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006347/0.8364, allocations: 331.3 kB / 1.218 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.8367, allocations: 199.4 kB / 1.218 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.837, allocations: 254.7 kB / 1.219 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.8381, allocations: 0.7492 MB / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8381, allocations: 0 / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8381, allocations: 4 kB / 1.219 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.392e-05/0.8381, allocations: 0 / 1.219 GB, free: 2.117 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001583/0.8397, allocations: 0.8068 MB / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.8398, allocations: 15.97 kB / 1.22 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.8411, allocations: 192 kB / 1.22 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.8417, allocations: 371.1 kB / 1.221 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.8417, allocations: 33.36 kB / 1.221 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.8418, allocations: 44.36 kB / 1.221 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.8431, allocations: 0.8371 MB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.8431, allocations: 7.938 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.8432, allocations: 24 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-05/0.8433, allocations: 68.61 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.8446, allocations: 0.6619 MB / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004098/0.8487, allocations: 4.666 MB / 1.227 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.8498, allocations: 0.5014 MB / 1.227 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.8503, allocations: 281.5 kB / 1.228 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.8503, allocations: 4 kB / 1.228 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.8503, allocations: 38.56 kB / 1.228 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/0.8504, allocations: 0 / 1.228 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.001813/0.8522, allocations: 0.8864 MB / 1.229 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.8522, allocations: 85.09 kB / 1.229 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.8526, allocations: 369.5 kB / 1.229 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.8527, allocations: 33.7 kB / 1.229 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.8529, allocations: 291 kB / 1.229 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.853, allocations: 118.3 kB / 1.229 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.8532, allocations: 118 kB / 1.23 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8533, allocations: 350.7 kB / 1.23 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.8539, allocations: 270.9 kB / 1.23 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/0.8545, allocations: 486.5 kB / 1.231 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.8557, allocations: 0.773 MB / 1.231 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8557, allocations: 0 / 1.231 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001453/0.8571, allocations: 0.7835 MB / 1.232 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.8572, allocations: 8 kB / 1.232 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.8572, allocations: 15.92 kB / 1.232 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.8572, allocations: 8 kB / 1.232 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006847/0.8579, allocations: 163.7 kB / 1.232 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.8579, allocations: 16.38 kB / 1.232 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.8585, allocations: 71.77 kB / 1.232 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.8585, allocations: 31.98 kB / 1.232 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005912/0.8591, allocations: 357.1 kB / 1.233 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005706/0.8597, allocations: 453.4 kB / 1.233 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001035/0.8608, allocations: 0.6832 MB / 1.234 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.28e-06/0.8608, allocations: 0 / 1.234 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001286/0.8621, allocations: 0.6906 MB / 1.235 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.8621, allocations: 8 kB / 1.235 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.8621, allocations: 11.94 kB / 1.235 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.8621, allocations: 15.98 kB / 1.235 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.8627, allocations: 143.8 kB / 1.235 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.8627, allocations: 16.34 kB / 1.235 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.8632, allocations: 67.78 kB / 1.235 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.8633, allocations: 28 kB / 1.235 GB, free: 1.223 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0001689/0.8634, allocations: 216.2 kB / 1.235 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/0.8635, allocations: 39.53 kB / 1.235 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.8646, allocations: 0.5834 MB / 1.236 GB, free: 384 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.8647, allocations: 3.984 kB / 1.236 GB, free: 380 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8647, allocations: 0 / 1.236 GB, free: 380 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.8649, allocations: 160.5 kB / 1.236 GB, free: 200 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.8649, allocations: 7.938 kB / 1.236 GB, free: 192 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.8655, allocations: 87.8 kB / 1.236 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.8656, allocations: 23.97 kB / 1.236 GB, free: 80 kB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001179/0.8668, allocations: 0.6911 MB / 1.237 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009472/0.8677, allocations: 0.7744 MB / 1.237 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003886/0.8681, allocations: 248.2 kB / 1.238 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003252/0.8685, allocations: 271.1 kB / 1.238 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of Backend: time 5.71e-07/0.8685, allocations: 0 / 1.238 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002163/0.8707, allocations: 0.9716 MB / 1.239 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001575/0.8722, allocations: 1.226 MB / 1.24 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of Templates: time 0.01696/0.8892, allocations: 10.52 MB / 1.25 GB, free: 1.348 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches