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.0008477/0.0008476, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006409/0.00641, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.55/1.55, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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.547/2.547, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004437, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.7749, allocations: 142.4 MB / 0.9551 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005439/0.7804, allocations: 3.85 MB / 0.9588 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004867/0.7853, allocations: 2.774 MB / 0.9615 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006327/0.786, allocations: 9.875 kB / 0.9615 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.7865, allocations: 70.8 kB / 0.9616 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.7882, allocations: 382.5 kB / 0.962 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.7899, allocations: 478.2 kB / 0.9624 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.7913, allocations: 0.9923 MB / 0.9634 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.7924, allocations: 0.5437 MB / 0.9639 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005433/0.7929, allocations: 218.2 kB / 0.9641 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000699/0.7936, allocations: 335.2 kB / 0.9645 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.142e-05/0.7937, allocations: 17.91 kB / 0.9645 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008946/0.7946, allocations: 415.1 kB / 0.9649 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.7949, allocations: 167.6 kB / 0.965 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.7953, allocations: 260.8 kB / 0.9653 GB, free: 372 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.7966, allocations: 0.7243 MB / 0.966 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7966, allocations: 1.125 kB / 0.966 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7966, allocations: 0 / 0.966 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.81e-05/0.7966, allocations: 0 / 0.966 GB, free: 15.89 MB / 0.7325 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.001876/0.7985, allocations: 0.7334 MB / 0.9667 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.7986, allocations: 10.03 kB / 0.9667 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.8002, allocations: 197.5 kB / 0.9669 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.8009, allocations: 359.6 kB / 0.9672 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.87e-05/0.801, allocations: 29.95 kB / 0.9673 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.8011, allocations: 39.44 kB / 0.9673 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.803, allocations: 0.8497 MB / 0.9681 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.803, allocations: 11.12 kB / 0.9681 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.385e-05/0.8031, allocations: 18.11 kB / 0.9682 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.8032, allocations: 64.86 kB / 0.9682 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.8049, allocations: 0.6836 MB / 0.9689 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005409/0.8103, allocations: 4.675 MB / 0.9735 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.8117, allocations: 0.5059 MB / 0.974 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006095/0.8123, allocations: 309.1 kB / 0.9742 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.8123, allocations: 3.031 kB / 0.9743 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.8124, allocations: 40.59 kB / 0.9743 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.424e-06/0.8124, allocations: 0 / 0.9743 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.002334/0.8147, allocations: 0.9193 MB / 0.9752 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.8148, allocations: 83.73 kB / 0.9753 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.8153, allocations: 371.7 kB / 0.9756 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.8154, allocations: 31.08 kB / 0.9757 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.8156, allocations: 290.1 kB / 0.9759 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.8158, allocations: 119.7 kB / 0.976 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.8159, allocations: 56.78 kB / 0.9761 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.816, allocations: 349 kB / 0.9764 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.8166, allocations: 273.3 kB / 0.9767 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/0.8175, allocations: 0.4909 MB / 0.9772 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.8189, allocations: 0.7771 MB / 0.9779 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8189, allocations: 2.031 kB / 0.9779 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00173/0.8206, allocations: 0.8125 MB / 0.9787 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002654/0.8209, allocations: 303.5 kB / 0.979 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.8209, allocations: 8 kB / 0.979 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.821, allocations: 8.875 kB / 0.979 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007967/0.8218, allocations: 175.4 kB / 0.9792 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/0.8218, allocations: 18.7 kB / 0.9792 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007008/0.8225, allocations: 76.48 kB / 0.9793 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.8226, allocations: 33.67 kB / 0.9793 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.8226, allocations: 5.344 kB / 0.9793 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001429/0.824, allocations: 0.6294 MB / 0.9799 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.8241, allocations: 8.438 kB / 0.9799 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.8241, allocations: 10.53 kB / 0.98 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.8247, allocations: 158.7 kB / 0.9801 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.8247, allocations: 19.92 kB / 0.9801 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.8252, allocations: 63.73 kB / 0.9802 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.8253, allocations: 28 kB / 0.9802 GB, free: 4.727 MB / 0.7325 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.0003894/0.8257, allocations: 284.8 kB / 0.9805 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.8258, allocations: 47.38 kB / 0.9805 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.8271, allocations: 0.5952 MB / 0.9811 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.8271, allocations: 4 kB / 0.9811 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.8271, allocations: 7.938 kB / 0.9811 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.8271, allocations: 3.984 kB / 0.9811 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/0.8298, allocations: 1.626 MB / 0.9827 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.8298, allocations: 4 kB / 0.9827 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.8304, allocations: 116.3 kB / 0.9828 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.669e-06/0.8304, allocations: 12 kB / 0.9828 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.8304, allocations: 8 kB / 0.9828 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.8304, allocations: 7.938 kB / 0.9829 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.8304, allocations: 8 kB / 0.9829 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.8316, allocations: 0.8135 MB / 0.9837 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.8319, allocations: 172.5 kB / 0.9838 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.832, allocations: 8 kB / 0.9838 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.8324, allocations: 55.92 kB / 0.9839 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.8325, allocations: 39.84 kB / 0.9839 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.8326, allocations: 12 kB / 0.9839 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000381/0.833, allocations: 271.1 kB / 0.9842 GB, free: 460 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.833, allocations: 3.938 kB / 0.9842 GB, free: 456 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001045/0.834, allocations: 196 kB / 0.9844 GB, free: 260 kB / 0.7325 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.0001523/0.8342, allocations: 111.2 kB / 0.9845 GB, free: 140 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00223/0.8364, allocations: 0.9632 MB / 0.9854 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8364, allocations: 0 / 0.9854 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007252/0.8372, allocations: 276.8 kB / 0.9857 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009948/0.8382, allocations: 113.8 kB / 0.9858 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.84, allocations: 1.229 MB / 0.987 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.8405, allocations: 0.8747 MB / 0.9879 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006864/0.8412, allocations: 215.9 kB / 0.9881 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.8414, allocations: 39.42 kB / 0.9881 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.8414, allocations: 0 / 0.9881 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of Templates: time 0.01163/0.853, allocations: 6.071 MB / 0.994 GB, free: 6.309 MB / 0.7481 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