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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00779/0.00779, allocations: 107.5 kB / 15.74 MB, free: 6.035 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.001743/0.001744, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 59.91 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3271, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006366/0.3335, allocations: 4.208 MB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0047/0.3382, allocations: 2.793 MB / 1.215 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.3387, allocations: 11.94 kB / 1.215 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.3399, allocations: 386.2 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.3411, allocations: 410.1 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.3424, allocations: 0.5136 MB / 1.216 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.3434, allocations: 0.6892 MB / 1.217 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006156/0.3441, allocations: 347 kB / 1.217 GB, free: 300 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.3446, allocations: 275 kB / 1.217 GB, free: 24 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006897/0.3453, allocations: 338.8 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.3454, allocations: 36 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.3461, allocations: 347.2 kB / 1.218 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.3464, allocations: 191.5 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.3468, allocations: 250.7 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.348, allocations: 0.7359 MB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.348, allocations: 4 kB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.348, allocations: 0 / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.875e-05/0.3481, allocations: 0 / 1.219 GB, free: 14.14 MB / 0.9825 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.001791/0.3499, allocations: 0.8107 MB / 1.22 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3499, allocations: 8.625 kB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.3513, allocations: 200 kB / 1.22 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.352, allocations: 371.1 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.3521, allocations: 37.3 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.59e-05/0.3522, allocations: 40.38 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.3535, allocations: 0.8454 MB / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.3536, allocations: 7.938 kB / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.869e-05/0.3536, allocations: 19.98 kB / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-05/0.3537, allocations: 64.61 kB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.3551, allocations: 0.6696 MB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/0.3597, allocations: 4.651 MB / 1.226 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.3608, allocations: 0.497 MB / 1.227 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/0.3613, allocations: 277.5 kB / 1.227 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.3614, allocations: 11.98 kB / 1.227 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.3614, allocations: 42.48 kB / 1.227 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/0.3614, allocations: 3.938 kB / 1.227 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.001922/0.3634, allocations: 0.8825 MB / 1.228 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.3634, allocations: 81.11 kB / 1.228 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.3639, allocations: 377.5 kB / 1.229 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.364, allocations: 33.64 kB / 1.229 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.3642, allocations: 291 kB / 1.229 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3643, allocations: 122.3 kB / 1.229 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.3645, allocations: 114 kB / 1.229 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3647, allocations: 354.7 kB / 1.229 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.3653, allocations: 266.9 kB / 1.23 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007327/0.366, allocations: 490.5 kB / 1.23 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.3673, allocations: 0.7648 MB / 1.231 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.3673, allocations: 4 kB / 1.231 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001617/0.369, allocations: 0.7822 MB / 1.232 GB, free: 248 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.369, allocations: 16 kB / 1.232 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.369, allocations: 4 kB / 1.232 GB, free: 228 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.3691, allocations: 12 kB / 1.232 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/0.3698, allocations: 167.7 kB / 1.232 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.3698, allocations: 11.94 kB / 1.232 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.3704, allocations: 79.77 kB / 1.232 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.3705, allocations: 27.98 kB / 1.232 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006325/0.3711, allocations: 357 kB / 1.232 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006585/0.3718, allocations: 453.4 kB / 1.233 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001134/0.3729, allocations: 0.6793 MB / 1.233 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.585e-06/0.3729, allocations: 4 kB / 1.233 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00142/0.3744, allocations: 0.687 MB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3744, allocations: 12.03 kB / 1.234 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3744, allocations: 8 kB / 1.234 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.3744, allocations: 12 kB / 1.234 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.375, allocations: 147.8 kB / 1.234 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.3751, allocations: 19.92 kB / 1.234 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.3756, allocations: 63.78 kB / 1.234 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.3756, allocations: 28 kB / 1.234 GB, free: 13.25 MB / 0.9981 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.0002294/0.3759, allocations: 220.2 kB / 1.235 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.376, allocations: 39.53 kB / 1.235 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.3772, allocations: 0.5833 MB / 1.235 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.3772, allocations: 8 kB / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3773, allocations: 0 / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3773, allocations: 3.984 kB / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.38, allocations: 1.61 MB / 1.237 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.38, allocations: 7.938 kB / 1.237 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.3806, allocations: 111.8 kB / 1.237 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.3806, allocations: 7.938 kB / 1.237 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.3806, allocations: 12 kB / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-06/0.3806, allocations: 11.94 kB / 1.237 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.3807, allocations: 4 kB / 1.237 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3818, allocations: 0.789 MB / 1.238 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.3821, allocations: 176.4 kB / 1.238 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.3821, allocations: 8 kB / 1.238 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.3826, allocations: 51.88 kB / 1.238 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3827, allocations: 35.89 kB / 1.238 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.3828, allocations: 16 kB / 1.238 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003745/0.3831, allocations: 267.1 kB / 1.238 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3831, allocations: 0 / 1.238 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009321/0.3841, allocations: 192 kB / 1.238 GB, free: 8.926 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.0001587/0.3843, allocations: 119.1 kB / 1.239 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.3863, allocations: 0.936 MB / 1.239 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.3863, allocations: 0 / 1.239 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005202/0.3868, allocations: 263.6 kB / 1.24 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008403/0.3876, allocations: 134.6 kB / 1.24 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.3894, allocations: 0.9984 MB / 1.241 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.39, allocations: 0.8787 MB / 1.242 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005849/0.3905, allocations: 212 kB / 1.242 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.3907, allocations: 39.42 kB / 1.242 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3907, allocations: 0 / 1.242 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of Templates: time 0.6206/1.011, allocations: 6.701 MB / 1.248 GB, free: 37.7 MB / 0.9981 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/jenkins/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