Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001511/0.001512, allocations: 192.5 kB / 17.2 MB, free: 5.594 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.638/2.638, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 72.09 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7929/0.7947, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009398/0.8042, allocations: 6.801 MB / 1.09 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006029/0.8103, allocations: 3.061 MB / 1.093 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007529/0.8111, allocations: 29.03 kB / 1.093 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.8137, allocations: 0.957 MB / 1.094 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.8154, allocations: 0.5002 MB / 1.094 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.8167, allocations: 452.1 kB / 1.094 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.8184, allocations: 1.228 MB / 1.096 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.8196, allocations: 0.6606 MB / 1.096 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008291/0.8205, allocations: 479.8 kB / 1.097 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007252/0.8212, allocations: 0.5193 MB / 1.097 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.8213, allocations: 67.41 kB / 1.097 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008864/0.8222, allocations: 375.1 kB / 1.098 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.8226, allocations: 306.5 kB / 1.098 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005277/0.8231, allocations: 456.2 kB / 1.098 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.8247, allocations: 1.206 MB / 1.1 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8247, allocations: 9.406 kB / 1.1 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8247, allocations: 0 / 1.1 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.8247, allocations: 0 / 1.1 GB, free: 7.629 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002038/0.8267, allocations: 1.162 MB / 1.101 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.8268, allocations: 9.875 kB / 1.101 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.8284, allocations: 239 kB / 1.101 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008958/0.8293, allocations: 0.551 MB / 1.101 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.8293, allocations: 51.08 kB / 1.102 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.8294, allocations: 62.19 kB / 1.102 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.8311, allocations: 1.093 MB / 1.103 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.8311, allocations: 3.453 kB / 1.103 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.8312, allocations: 30.39 kB / 1.103 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.8314, allocations: 83.36 kB / 1.103 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.8326, allocations: 0.7573 MB / 1.104 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006037/0.8387, allocations: 5.895 MB / 1.109 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.8397, allocations: 0.5573 MB / 1.11 GB, free: 192 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.8402, allocations: 328.6 kB / 1.11 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.8402, allocations: 4.531 kB / 1.11 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.8403, allocations: 38.89 kB / 1.11 GB, free: 20 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.474e-06/0.8403, allocations: 0 / 1.11 GB, free: 20 kB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.00404/0.8443, allocations: 1.993 MB / 1.112 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.8444, allocations: 57.3 kB / 1.112 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/0.8451, allocations: 0.5637 MB / 1.113 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.8451, allocations: 33.48 kB / 1.113 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.8454, allocations: 417 kB / 1.113 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.8456, allocations: 175.3 kB / 1.113 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.8458, allocations: 129 kB / 1.113 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.846, allocations: 378.5 kB / 1.114 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.8464, allocations: 275 kB / 1.114 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.8471, allocations: 494.7 kB / 1.115 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.8482, allocations: 0.8096 MB / 1.115 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8482, allocations: 2.062 kB / 1.115 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001865/0.85, allocations: 1.089 MB / 1.116 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.8501, allocations: 9.188 kB / 1.116 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.8501, allocations: 6.281 kB / 1.116 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008369/0.8509, allocations: 277.5 kB / 1.117 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.8514, allocations: 129.7 kB / 1.117 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007238/0.8587, allocations: 7.147 MB / 1.124 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/0.8594, allocations: 37.02 kB / 1.124 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.8595, allocations: 35.61 kB / 1.124 GB, free: 5.871 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004413/0.86, allocations: 252.4 kB / 1.124 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.8601, allocations: 73.19 kB / 1.124 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.8618, allocations: 0.892 MB / 1.125 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.8618, allocations: 4.875 kB / 1.125 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.8618, allocations: 3 kB / 1.125 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.8618, allocations: 4.281 kB / 1.125 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.8647, allocations: 1.722 MB / 1.127 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8647, allocations: 6.25 kB / 1.127 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.865, allocations: 63.5 kB / 1.127 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007469/0.8657, allocations: 262.2 kB / 1.127 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.8658, allocations: 12.19 kB / 1.127 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007155/0.8729, allocations: 7.127 MB / 1.134 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.873, allocations: 2.219 kB / 1.134 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.8747, allocations: 0.9876 MB / 1.135 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.875, allocations: 188.7 kB / 1.135 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.8752, allocations: 12.78 kB / 1.135 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.8755, allocations: 40.7 kB / 1.135 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.8757, allocations: 34.89 kB / 1.135 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.8757, allocations: 18.62 kB / 1.135 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004984/0.8762, allocations: 396.4 kB / 1.136 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8762, allocations: 3.938 kB / 1.136 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008637/0.8771, allocations: 225.8 kB / 1.136 GB, free: 12.89 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,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.8772, allocations: 116.5 kB / 1.136 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002123/0.8794, allocations: 1.329 MB / 1.137 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8794, allocations: 0 / 1.137 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.8807, allocations: 0.9006 MB / 1.138 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.8817, allocations: 215.9 kB / 1.138 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.884, allocations: 1.408 MB / 1.14 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.8847, allocations: 1.009 MB / 1.141 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.8849, allocations: 50.02 kB / 1.141 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.8849, allocations: 0 / 1.141 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of Templates: time 0.02684/0.9117, allocations: 20.86 MB / 1.161 GB, free: 12.42 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches