Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008065/0.0008064, allocations: 90.67 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.006394/0.006395, allocations: 171.7 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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.572/2.572, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003661, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8288/0.8292, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.005237/0.8345, allocations: 3.983 MB / 0.9589 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004574/0.8391, allocations: 2.792 MB / 0.9617 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.8395, allocations: 8.312 kB / 0.9617 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.8398, allocations: 72.27 kB / 0.9617 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.8409, allocations: 387.3 kB / 0.9621 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.8423, allocations: 484.3 kB / 0.9626 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.8436, allocations: 1.022 MB / 0.9636 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008831/0.8445, allocations: 0.506 MB / 0.9641 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/0.8449, allocations: 218.7 kB / 0.9643 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005919/0.8455, allocations: 350.2 kB / 0.9646 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.8456, allocations: 17.66 kB / 0.9646 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007432/0.8463, allocations: 413.6 kB / 0.965 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.8465, allocations: 183.5 kB / 0.9652 GB, free: 168 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.8468, allocations: 259.3 kB / 0.9654 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009568/0.8478, allocations: 0.7448 MB / 0.9662 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.8478, allocations: 4.969 kB / 0.9662 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8478, allocations: 0 / 0.9662 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.8478, allocations: 0 / 0.9662 GB, free: 15.48 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001592/0.8494, allocations: 0.7618 MB / 0.9669 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.8494, allocations: 9.844 kB / 0.9669 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.851, allocations: 217.4 kB / 0.9671 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.8516, allocations: 373.5 kB / 0.9675 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.8516, allocations: 30.69 kB / 0.9675 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.8518, allocations: 51.89 kB / 0.9676 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.8534, allocations: 0.8866 MB / 0.9684 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.8535, allocations: 6.281 kB / 0.9684 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/0.8536, allocations: 23.33 kB / 0.9685 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.8537, allocations: 68.83 kB / 0.9685 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.8555, allocations: 0.7417 MB / 0.9693 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/0.8607, allocations: 4.539 MB / 0.9737 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.8625, allocations: 0.6799 MB / 0.9743 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/0.8633, allocations: 335.6 kB / 0.9747 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.8634, allocations: 16.3 kB / 0.9747 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.8634, allocations: 37.55 kB / 0.9747 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=38): time 2.996e-06/0.8635, allocations: 0 / 0.9747 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.002808/0.8663, allocations: 1.044 MB / 0.9757 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.8664, allocations: 81.14 kB / 0.9758 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.8669, allocations: 356.2 kB / 0.9762 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.8669, allocations: 39.2 kB / 0.9762 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.8671, allocations: 279.3 kB / 0.9765 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.8673, allocations: 148.4 kB / 0.9766 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.8674, allocations: 45.67 kB / 0.9766 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.8676, allocations: 353.4 kB / 0.977 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008057/0.8684, allocations: 307.3 kB / 0.9773 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009139/0.8693, allocations: 0.5016 MB / 0.9778 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.871, allocations: 0.8443 MB / 0.9786 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.871, allocations: 3 kB / 0.9786 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002095/0.8731, allocations: 0.8644 MB / 0.9794 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/0.8734, allocations: 281.1 kB / 0.9797 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.8734, allocations: 6.719 kB / 0.9797 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.8734, allocations: 9.875 kB / 0.9797 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/0.8743, allocations: 189.5 kB / 0.9799 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.8744, allocations: 12.66 kB / 0.9799 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006644/0.8751, allocations: 100.8 kB / 0.98 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.8751, allocations: 25.88 kB / 0.98 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.8751, allocations: 3.688 kB / 0.98 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/0.8768, allocations: 0.696 MB / 0.9807 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.8768, allocations: 4 kB / 0.9807 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8769, allocations: 12 kB / 0.9807 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/0.8776, allocations: 168.5 kB / 0.9809 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.8776, allocations: 19.92 kB / 0.9809 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.8781, allocations: 67.8 kB / 0.981 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.8781, allocations: 27.98 kB / 0.981 GB, free: 3.836 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0004705/0.8786, allocations: 284.8 kB / 0.9813 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.8787, allocations: 43.44 kB / 0.9813 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.8805, allocations: 0.7357 MB / 0.982 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.8805, allocations: 4 kB / 0.982 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8805, allocations: 0 / 0.982 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.8805, allocations: 4 kB / 0.982 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.8833, allocations: 1.504 MB / 0.9835 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.8833, allocations: 0 / 0.9835 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007917/0.8841, allocations: 167.9 kB / 0.9837 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.8842, allocations: 0 / 0.9837 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.8842, allocations: 12 kB / 0.9837 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.8842, allocations: 4 kB / 0.9837 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.8842, allocations: 7.938 kB / 0.9837 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.8857, allocations: 0.8499 MB / 0.9845 GB, free: 104 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.8859, allocations: 176.4 kB / 0.9847 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.886, allocations: 12 kB / 0.9847 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.8866, allocations: 63.92 kB / 0.9848 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.8867, allocations: 39.83 kB / 0.9848 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.8867, allocations: 12 kB / 0.9848 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003799/0.8871, allocations: 271.1 kB / 0.9851 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8871, allocations: 4 kB / 0.9851 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001/0.8881, allocations: 200 kB / 0.9853 GB, free: 15.32 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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.0001832/0.8883, allocations: 112.8 kB / 0.9854 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002498/0.8908, allocations: 1.053 MB / 0.9864 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8908, allocations: 0 / 0.9864 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006442/0.8915, allocations: 328.1 kB / 0.9867 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009465/0.8924, allocations: 116.2 kB / 0.9868 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.8947, allocations: 1.276 MB / 0.9881 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.8952, allocations: 0.8796 MB / 0.9889 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008437/0.8961, allocations: 224 kB / 0.9891 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.8963, allocations: 43.42 kB / 0.9892 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.8963, allocations: 7.938 kB / 0.9892 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of Templates: time 0.01361/0.9099, allocations: 6.941 MB / 0.996 GB, free: 4.348 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches