Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.001657/0.001657, allocations: 104.7 kB / 16.27 MB, free: 6.414 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.001682/0.001682, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.688/2.688, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.31 kB / 0.9245 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8105, allocations: 162.2 MB / 1.083 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005696/0.8162, allocations: 4.282 MB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003925/0.8202, allocations: 2.381 MB / 1.089 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.8205, allocations: 17.31 kB / 1.089 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.8217, allocations: 370 kB / 1.09 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009931/0.8227, allocations: 374.4 kB / 1.09 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009188/0.8236, allocations: 316.5 kB / 1.09 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007937/0.8244, allocations: 0.6824 MB / 1.091 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.8249, allocations: 263.7 kB / 1.091 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.8253, allocations: 252.2 kB / 1.092 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.8257, allocations: 272.7 kB / 1.092 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.8258, allocations: 29.44 kB / 1.092 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008188/0.8266, allocations: 429.1 kB / 1.092 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.8268, allocations: 144.4 kB / 1.092 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.827, allocations: 241.7 kB / 1.093 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.8282, allocations: 0.7221 MB / 1.093 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8282, allocations: 0.6094 kB / 1.093 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8282, allocations: 0 / 1.093 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.8282, allocations: 0.7812 kB / 1.093 GB, free: 11.2 MB / 0.8419 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.00127/0.8295, allocations: 0.7892 MB / 1.094 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.8295, allocations: 9.188 kB / 1.094 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.831, allocations: 184.4 kB / 1.094 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006589/0.8316, allocations: 407.6 kB / 1.095 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.8317, allocations: 23.31 kB / 1.095 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/0.8317, allocations: 34.5 kB / 1.095 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009564/0.8327, allocations: 0.6536 MB / 1.095 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.8327, allocations: 2.781 kB / 1.095 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.8328, allocations: 17.3 kB / 1.095 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-05/0.8329, allocations: 53.7 kB / 1.095 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.8336, allocations: 0.4898 MB / 1.096 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.8371, allocations: 3.782 MB / 1.1 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.8388, allocations: 0.6345 MB / 1.1 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.8391, allocations: 179.3 kB / 1.1 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.8391, allocations: 11.11 kB / 1.1 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.8391, allocations: 42.45 kB / 1.101 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.786e-06/0.8391, allocations: 0 / 1.101 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002273/0.8414, allocations: 1.273 MB / 1.102 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.8415, allocations: 114.9 kB / 1.102 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.8419, allocations: 394.6 kB / 1.102 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.842, allocations: 32.14 kB / 1.102 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.8422, allocations: 283.6 kB / 1.103 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.8423, allocations: 119.9 kB / 1.103 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.8424, allocations: 100.3 kB / 1.103 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.8426, allocations: 351.5 kB / 1.103 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.8429, allocations: 177.9 kB / 1.103 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.8433, allocations: 387 kB / 1.104 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.8441, allocations: 0.5807 MB / 1.104 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.8441, allocations: 6.375 kB / 1.104 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001093/0.8452, allocations: 0.6835 MB / 1.105 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.8452, allocations: 9.109 kB / 1.105 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.8452, allocations: 6.094 kB / 1.105 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.8456, allocations: 108.1 kB / 1.105 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.846, allocations: 112.7 kB / 1.105 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.8498, allocations: 4.341 MB / 1.109 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.8503, allocations: 30.06 kB / 1.109 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.8503, allocations: 24.78 kB / 1.109 GB, free: 14.58 MB / 0.8575 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.0002908/0.8506, allocations: 203.3 kB / 1.11 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.8508, allocations: 48.19 kB / 1.11 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009692/0.8517, allocations: 0.5126 MB / 1.11 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.8518, allocations: 5.422 kB / 1.11 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.8518, allocations: 9.5 kB / 1.11 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.8518, allocations: 3.516 kB / 1.11 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.8537, allocations: 1.287 MB / 1.111 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8537, allocations: 4.641 kB / 1.111 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.8539, allocations: 64.33 kB / 1.111 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.8542, allocations: 88.31 kB / 1.112 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.8543, allocations: 14.28 kB / 1.112 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.8578, allocations: 4.33 MB / 1.116 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.8578, allocations: 7.062 kB / 1.116 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.8588, allocations: 0.7814 MB / 1.117 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.8591, allocations: 155.1 kB / 1.117 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.8591, allocations: 14.09 kB / 1.117 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.8595, allocations: 21.2 kB / 1.117 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.8596, allocations: 40.89 kB / 1.117 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.8596, allocations: 8.125 kB / 1.117 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000339/0.8599, allocations: 281.9 kB / 1.117 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.5e-07/0.8599, allocations: 1.344 kB / 1.117 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007377/0.8607, allocations: 120.2 kB / 1.117 GB, free: 8.141 MB / 0.8575 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.0001619/0.8609, allocations: 116 kB / 1.117 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.8622, allocations: 0.8211 MB / 1.118 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8622, allocations: 0 / 1.118 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007116/0.8629, allocations: 0.5417 MB / 1.119 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000925/0.8638, allocations: 134.1 kB / 1.119 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.8654, allocations: 0.9638 MB / 1.12 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.866, allocations: 0.8688 MB / 1.121 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.8661, allocations: 39.47 kB / 1.121 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.8661, allocations: 1.125 kB / 1.121 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of Templates: time 0.01624/0.8824, allocations: 11.09 MB / 1.131 GB, free: 1.895 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches