Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009473/0.0009473, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01032/0.01032, allocations: 170.2 kB / 16.27 MB, free: 6.332 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.582/1.582, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.537/2.537, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004179, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.846/0.8464, allocations: 142.4 MB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005411/0.8519, allocations: 3.931 MB / 0.9589 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003624/0.8556, allocations: 2.354 MB / 0.9612 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003693/0.856, allocations: 14.16 kB / 0.9612 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.8563, allocations: 67.47 kB / 0.9613 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.8573, allocations: 346.3 kB / 0.9616 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008325/0.8582, allocations: 296.3 kB / 0.9619 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009557/0.8591, allocations: 0.8658 MB / 0.9627 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008051/0.86, allocations: 460.6 kB / 0.9632 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.8603, allocations: 222.4 kB / 0.9634 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004676/0.8608, allocations: 254.2 kB / 0.9636 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.466e-05/0.8609, allocations: 16.84 kB / 0.9636 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.8622, allocations: 0.5306 MB / 0.9641 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.8624, allocations: 130.5 kB / 0.9643 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.8627, allocations: 251 kB / 0.9645 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.8638, allocations: 0.7401 MB / 0.9652 GB, free: 136 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.8638, allocations: 0 / 0.9652 GB, free: 136 kB / 0.7169 GB Notification: Performance of FrontEnd: time 3.266e-06/0.8638, allocations: 4.969 kB / 0.9652 GB, free: 132 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.8638, allocations: 0 / 0.9652 GB, free: 132 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001569/0.8654, allocations: 0.703 MB / 0.9659 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.8655, allocations: 9.156 kB / 0.9659 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.8672, allocations: 189.8 kB / 0.9661 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/0.868, allocations: 410.8 kB / 0.9665 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.8681, allocations: 21.97 kB / 0.9665 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/0.8682, allocations: 38.39 kB / 0.9666 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.8695, allocations: 0.6582 MB / 0.9672 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.8696, allocations: 2.219 kB / 0.9672 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.703e-05/0.8696, allocations: 14.41 kB / 0.9672 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.8698, allocations: 60.41 kB / 0.9673 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009404/0.8707, allocations: 498.4 kB / 0.9678 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.8744, allocations: 3.789 MB / 0.9715 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.8761, allocations: 0.6313 MB / 0.9721 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.8764, allocations: 181.9 kB / 0.9722 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.8765, allocations: 4 kB / 0.9723 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.8765, allocations: 36.75 kB / 0.9723 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.574e-06/0.8765, allocations: 3.938 kB / 0.9723 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002401/0.8789, allocations: 1.281 MB / 0.9735 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.879, allocations: 106.7 kB / 0.9736 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004978/0.8795, allocations: 401.3 kB / 0.974 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.8796, allocations: 35.02 kB / 0.9741 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.8798, allocations: 282.6 kB / 0.9743 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.8799, allocations: 115 kB / 0.9744 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.88, allocations: 44.39 kB / 0.9745 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.8802, allocations: 356.9 kB / 0.9748 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.8806, allocations: 176 kB / 0.975 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.8811, allocations: 378.5 kB / 0.9754 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009349/0.882, allocations: 0.5897 MB / 0.9759 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.8821, allocations: 6.031 kB / 0.9759 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001245/0.8833, allocations: 0.68 MB / 0.9766 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.8834, allocations: 7.625 kB / 0.9766 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.8834, allocations: 6.938 kB / 0.9766 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003923/0.8838, allocations: 99.66 kB / 0.9767 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.8842, allocations: 111.2 kB / 0.9768 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003441/0.8876, allocations: 4.035 MB / 0.9808 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.8881, allocations: 35.22 kB / 0.9808 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.8882, allocations: 23.25 kB / 0.9808 GB, free: 2.578 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000303/0.8885, allocations: 199.6 kB / 0.981 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.8886, allocations: 42.28 kB / 0.981 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009382/0.8895, allocations: 0.515 MB / 0.9815 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.8896, allocations: 8.594 kB / 0.9815 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8896, allocations: 8.938 kB / 0.9816 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.8896, allocations: 1.062 kB / 0.9816 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.8915, allocations: 1.282 MB / 0.9828 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.8915, allocations: 2.75 kB / 0.9828 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.8917, allocations: 65.39 kB / 0.9829 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.892, allocations: 83.58 kB / 0.983 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.8921, allocations: 12.66 kB / 0.983 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00317/0.8953, allocations: 4.032 MB / 0.9869 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.8953, allocations: 4.094 kB / 0.9869 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.8963, allocations: 0.7777 MB / 0.9877 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.8965, allocations: 152.5 kB / 0.9878 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.8966, allocations: 15.94 kB / 0.9878 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.8969, allocations: 23.97 kB / 0.9879 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.897, allocations: 31.91 kB / 0.9879 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.897, allocations: 12 kB / 0.9879 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003343/0.8974, allocations: 283.1 kB / 0.9882 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8974, allocations: 0 / 0.9882 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007458/0.8981, allocations: 120.3 kB / 0.9883 GB, free: 11.45 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001488/0.8983, allocations: 124.2 kB / 0.9884 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.8995, allocations: 0.7976 MB / 0.9892 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.8996, allocations: 4 kB / 0.9892 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007007/0.9003, allocations: 0.5513 MB / 0.9897 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.9013, allocations: 125 kB / 0.9898 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.9029, allocations: 1.103 MB / 0.9909 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.9034, allocations: 0.8703 MB / 0.9918 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002858/0.9037, allocations: 100.8 kB / 0.9919 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.9038, allocations: 35.44 kB / 0.9919 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of SimCode: time 9.82e-07/0.9038, allocations: 4 kB / 0.9919 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of Templates: time 0.01169/0.9155, allocations: 5.462 MB / 0.9972 GB, free: 2.16 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches