Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001501/0.001502, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001944/0.001944, 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.534/1.534, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.698/2.698, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.91 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, 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.ParallelLoads): time 0.005938/1.053, allocations: 4.21 MB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004542/1.057, allocations: 2.794 MB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/1.058, allocations: 11.94 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/1.059, allocations: 378.9 kB / 1.175 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009786/1.06, allocations: 406.1 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/1.061, allocations: 0.5173 MB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008122/1.062, allocations: 0.7047 MB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/1.063, allocations: 343.1 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/1.063, allocations: 271 kB / 1.177 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/1.064, allocations: 338.8 kB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.867e-05/1.064, allocations: 36 kB / 1.177 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/1.064, allocations: 343.3 kB / 1.177 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/1.064, allocations: 199.4 kB / 1.178 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/1.065, allocations: 254.7 kB / 1.178 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000801/1.065, allocations: 0.7375 MB / 1.179 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.065, allocations: 0 / 1.179 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/1.065, allocations: 0 / 1.179 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.726e-06/1.065, allocations: 0 / 1.179 GB, free: 8.391 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001556/1.067, allocations: 0.8224 MB / 1.179 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.067, allocations: 8.922 kB / 1.179 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/1.068, allocations: 188 kB / 1.18 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/1.069, allocations: 375.1 kB / 1.18 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/1.069, allocations: 29.36 kB / 1.18 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.987e-05/1.069, allocations: 40.38 kB / 1.18 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/1.07, allocations: 0.8449 MB / 1.181 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/1.07, allocations: 3.938 kB / 1.181 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/1.07, allocations: 19.98 kB / 1.181 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.879e-05/1.071, allocations: 64.61 kB / 1.181 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/1.072, allocations: 0.6658 MB / 1.181 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/1.076, allocations: 4.666 MB / 1.186 GB, free: 148 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.078, allocations: 0.5048 MB / 1.187 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/1.078, allocations: 281.5 kB / 1.187 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/1.078, allocations: 7.984 kB / 1.187 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.078, allocations: 38.56 kB / 1.187 GB, free: 15.29 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/1.078, allocations: 0 / 1.187 GB, free: 15.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=34): time 0.001949/1.08, allocations: 0.89 MB / 1.188 GB, free: 14.39 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/1.08, allocations: 81.09 kB / 1.188 GB, free: 14.29 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/1.081, allocations: 377.5 kB / 1.188 GB, free: 13.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/1.081, allocations: 29.7 kB / 1.188 GB, free: 13.88 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/1.081, allocations: 287 kB / 1.188 GB, free: 13.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/1.081, allocations: 126.3 kB / 1.189 GB, free: 13.46 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/1.081, allocations: 118 kB / 1.189 GB, free: 13.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.081, allocations: 350.7 kB / 1.189 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/1.082, allocations: 274.9 kB / 1.189 GB, free: 12.71 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/1.083, allocations: 482.5 kB / 1.19 GB, free: 12.15 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/1.084, allocations: 0.7737 MB / 1.191 GB, free: 11.28 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.084, allocations: 4 kB / 1.191 GB, free: 11.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001493/1.085, allocations: 0.7813 MB / 1.191 GB, free: 10.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/1.085, allocations: 12.86 kB / 1.191 GB, free: 10.47 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/1.085, allocations: 8 kB / 1.191 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/1.086, allocations: 12 kB / 1.191 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/1.086, allocations: 163.7 kB / 1.191 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/1.086, allocations: 15.94 kB / 1.191 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/1.087, allocations: 71.77 kB / 1.192 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/1.087, allocations: 31.98 kB / 1.192 GB, free: 10.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006199/1.088, allocations: 361.1 kB / 1.192 GB, free: 9.816 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006375/1.088, allocations: 449.4 kB / 1.192 GB, free: 9.262 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001032/1.089, allocations: 0.6832 MB / 1.193 GB, free: 8.469 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.06e-06/1.089, allocations: 4 kB / 1.193 GB, free: 8.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001366/1.091, allocations: 0.6861 MB / 1.194 GB, free: 7.773 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.091, allocations: 8.938 kB / 1.194 GB, free: 7.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.091, allocations: 11.98 kB / 1.194 GB, free: 7.754 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/1.091, allocations: 12 kB / 1.194 GB, free: 7.742 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/1.091, allocations: 151.8 kB / 1.194 GB, free: 7.594 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/1.091, allocations: 15.92 kB / 1.194 GB, free: 7.578 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/1.092, allocations: 63.78 kB / 1.194 GB, free: 7.516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/1.092, allocations: 24 kB / 1.194 GB, free: 7.492 MB / 0.92 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.0002142/1.092, allocations: 224.5 kB / 1.194 GB, free: 7.266 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.092, allocations: 39.53 kB / 1.194 GB, free: 7.227 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/1.093, allocations: 0.5804 MB / 1.195 GB, free: 6.637 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.093, allocations: 3.984 kB / 1.195 GB, free: 6.633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.093, allocations: 4 kB / 1.195 GB, free: 6.629 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/1.094, allocations: 156.5 kB / 1.195 GB, free: 6.457 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/1.094, allocations: 11.94 kB / 1.195 GB, free: 6.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/1.094, allocations: 79.8 kB / 1.195 GB, free: 6.367 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/1.094, allocations: 23.97 kB / 1.195 GB, free: 6.344 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001307/1.096, allocations: 0.6989 MB / 1.196 GB, free: 5.637 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001074/1.097, allocations: 0.7668 MB / 1.196 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004157/1.097, allocations: 243.7 kB / 1.197 GB, free: 4.613 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003577/1.098, allocations: 279.1 kB / 1.197 GB, free: 4.344 MB / 0.92 GB Notification: Performance of Backend: time 9.12e-07/1.098, allocations: 0 / 1.197 GB, free: 4.344 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002312/1.1, allocations: 0.9605 MB / 1.198 GB, free: 3.383 MB / 0.92 GB Notification: Performance of SimCode: time 0.001726/1.102, allocations: 1.234 MB / 1.199 GB, free: 2.105 MB / 0.92 GB Notification: Performance of Templates: time 0.01648/1.118, allocations: 10.64 MB / 1.21 GB, free: 7.496 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches