Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01114/0.01114, allocations: 102.3 kB / 15.73 MB, free: 6.008 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.00168/0.00168, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.588/1.588, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 71.88 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9924/0.9943, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.0056/0.9999, allocations: 4.219 MB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004476/1.004, allocations: 2.789 MB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/1.005, allocations: 10.34 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/1.006, allocations: 372.3 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/1.007, allocations: 414.8 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/1.009, allocations: 0.5072 MB / 1.096 GB, free: 112 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001176/1.01, allocations: 0.7062 MB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006654/1.011, allocations: 339.9 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/1.011, allocations: 272.4 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/1.012, allocations: 341.1 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.659e-05/1.012, allocations: 37.81 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008017/1.013, allocations: 338.8 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002462/1.013, allocations: 196.9 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003289/1.013, allocations: 248.5 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/1.014, allocations: 0.7473 MB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.014, allocations: 5.094 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.82e-07/1.014, allocations: 0 / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.377e-05/1.014, allocations: 0.75 kB / 1.099 GB, free: 14.82 MB / 0.8731 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.001568/1.016, allocations: 0.8081 MB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/1.016, allocations: 9.703 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/1.017, allocations: 192 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/1.018, allocations: 377.8 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/1.018, allocations: 29.92 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/1.018, allocations: 47.58 kB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/1.02, allocations: 0.8484 MB / 1.101 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/1.02, allocations: 11.94 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/1.02, allocations: 18.22 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/1.02, allocations: 65.09 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/1.021, allocations: 0.6611 MB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004881/1.026, allocations: 4.656 MB / 1.107 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/1.028, allocations: 0.5025 MB / 1.107 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008389/1.028, allocations: 281 kB / 1.107 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/1.029, allocations: 11.09 kB / 1.107 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/1.029, allocations: 41.41 kB / 1.107 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.785e-06/1.029, allocations: 3.938 kB / 1.107 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.003116/1.032, allocations: 0.8806 MB / 1.108 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/1.032, allocations: 81.95 kB / 1.108 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/1.033, allocations: 380.4 kB / 1.109 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/1.033, allocations: 32.27 kB / 1.109 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/1.033, allocations: 285.5 kB / 1.109 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/1.033, allocations: 117.7 kB / 1.109 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/1.034, allocations: 118.8 kB / 1.109 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002233/1.034, allocations: 356.9 kB / 1.11 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009148/1.035, allocations: 267.2 kB / 1.11 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/1.036, allocations: 483.2 kB / 1.11 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/1.038, allocations: 0.767 MB / 1.111 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.038, allocations: 1.375 kB / 1.111 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002528/1.04, allocations: 0.7891 MB / 1.112 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/1.04, allocations: 13.14 kB / 1.112 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/1.04, allocations: 6.625 kB / 1.112 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/1.04, allocations: 9.938 kB / 1.112 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.042, allocations: 164.5 kB / 1.112 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.107e-05/1.042, allocations: 16.73 kB / 1.112 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.043, allocations: 78.69 kB / 1.112 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.541e-05/1.043, allocations: 28.25 kB / 1.112 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001096/1.044, allocations: 364.7 kB / 1.113 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00115/1.045, allocations: 450.7 kB / 1.113 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001772/1.047, allocations: 0.6831 MB / 1.114 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.975e-06/1.047, allocations: 3.531 kB / 1.114 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.002217/1.049, allocations: 0.6808 MB / 1.114 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/1.049, allocations: 8.812 kB / 1.114 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/1.049, allocations: 7.688 kB / 1.114 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/1.049, allocations: 11.22 kB / 1.114 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009536/1.05, allocations: 152 kB / 1.114 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.843e-05/1.05, allocations: 17.52 kB / 1.114 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/1.051, allocations: 71 kB / 1.115 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/1.051, allocations: 28.92 kB / 1.115 GB, free: 4.621 MB / 0.8731 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.0004415/1.052, allocations: 223 kB / 1.115 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/1.052, allocations: 39.34 kB / 1.115 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/1.054, allocations: 0.5741 MB / 1.115 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.054, allocations: 4.438 kB / 1.115 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.054, allocations: 2.312 kB / 1.115 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.054, allocations: 1.312 kB / 1.115 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/1.058, allocations: 1.621 MB / 1.117 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.058, allocations: 8.219 kB / 1.117 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/1.059, allocations: 114.1 kB / 1.117 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/1.059, allocations: 5.594 kB / 1.117 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/1.059, allocations: 14.03 kB / 1.117 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.758e-05/1.059, allocations: 10.84 kB / 1.117 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.059, allocations: 4.031 kB / 1.117 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/1.061, allocations: 0.7838 MB / 1.118 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/1.062, allocations: 161.2 kB / 1.118 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/1.062, allocations: 15.73 kB / 1.118 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007343/1.063, allocations: 52.92 kB / 1.118 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/1.063, allocations: 37.97 kB / 1.118 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/1.063, allocations: 10.75 kB / 1.118 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006481/1.063, allocations: 273.3 kB / 1.118 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.064, allocations: 1.312 kB / 1.118 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001897/1.065, allocations: 194.8 kB / 1.119 GB, free: 2.48 MB / 0.8731 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.0002105/1.066, allocations: 113.1 kB / 1.119 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00313/1.069, allocations: 0.9406 MB / 1.12 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.069, allocations: 0 / 1.12 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008311/1.07, allocations: 269.2 kB / 1.12 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/1.071, allocations: 126.3 kB / 1.12 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/1.074, allocations: 1.004 MB / 1.121 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007322/1.074, allocations: 0.8667 MB / 1.122 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001057/1.075, allocations: 215.5 kB / 1.122 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/1.076, allocations: 40.05 kB / 1.122 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of SimCode: time 1.022e-06/1.076, allocations: 5.281 kB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of Templates: time 0.02505/1.101, allocations: 6.606 MB / 1.129 GB, free: 236 kB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches