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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001728/0.001728, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002284/0.002284, allocations: 195 kB / 16.14 MB, free: 6.648 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.527/1.527, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.884/2.884, allocations: 461.8 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 65.92 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3876, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00864/0.3962, allocations: 6.819 MB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004988/0.4013, allocations: 3.067 MB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004822/0.4018, allocations: 27.81 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.404, allocations: 0.8912 MB / 1.063 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.4051, allocations: 485.6 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009692/0.4061, allocations: 399.2 kB / 1.064 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.4075, allocations: 1.595 MB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009012/0.4084, allocations: 0.6484 MB / 1.066 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004726/0.4089, allocations: 414.3 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005806/0.4095, allocations: 0.5253 MB / 1.067 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.4095, allocations: 48 kB / 1.067 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007825/0.4103, allocations: 459 kB / 1.067 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.4106, allocations: 291.1 kB / 1.067 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.411, allocations: 425.7 kB / 1.068 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.4121, allocations: 1.207 MB / 1.069 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4121, allocations: 0 / 1.069 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4121, allocations: 0 / 1.069 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.4122, allocations: 4 kB / 1.069 GB, free: 7.551 MB / 0.8262 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.001856/0.414, allocations: 1.176 MB / 1.07 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4141, allocations: 8.031 kB / 1.07 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.4155, allocations: 235.6 kB / 1.07 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.4163, allocations: 0.5531 MB / 1.071 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.4163, allocations: 49.66 kB / 1.071 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.4165, allocations: 72.27 kB / 1.071 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.4179, allocations: 1.085 MB / 1.072 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.4179, allocations: 4 kB / 1.072 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/0.418, allocations: 35.98 kB / 1.072 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/0.4181, allocations: 85.19 kB / 1.072 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.4192, allocations: 0.7504 MB / 1.073 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005121/0.4244, allocations: 5.901 MB / 1.079 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009604/0.4254, allocations: 0.5555 MB / 1.079 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.4258, allocations: 326 kB / 1.08 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.4259, allocations: 8.438 kB / 1.08 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.4259, allocations: 39 kB / 1.08 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.235e-06/0.4259, allocations: 0 / 1.08 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.00381/0.4297, allocations: 1.986 MB / 1.082 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4298, allocations: 59.84 kB / 1.082 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/0.4304, allocations: 0.5586 MB / 1.082 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.4305, allocations: 37.7 kB / 1.082 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.4307, allocations: 414.9 kB / 1.083 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.4309, allocations: 169.6 kB / 1.083 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.4311, allocations: 130.5 kB / 1.083 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4312, allocations: 378.7 kB / 1.083 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.4316, allocations: 273.8 kB / 1.083 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.4321, allocations: 493 kB / 1.084 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009324/0.4331, allocations: 0.8093 MB / 1.085 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4331, allocations: 4 kB / 1.085 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001722/0.4348, allocations: 1.086 MB / 1.086 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.4349, allocations: 8 kB / 1.086 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.4349, allocations: 8 kB / 1.086 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008321/0.4357, allocations: 284 kB / 1.086 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.4362, allocations: 127.8 kB / 1.086 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005846/0.442, allocations: 6.603 MB / 1.093 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.4427, allocations: 39.95 kB / 1.093 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.4428, allocations: 32 kB / 1.093 GB, free: 13.68 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.0003914/0.4432, allocations: 251.1 kB / 1.093 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4433, allocations: 71.16 kB / 1.093 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.4448, allocations: 0.8925 MB / 1.094 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4448, allocations: 8 kB / 1.094 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4448, allocations: 0 / 1.094 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.4448, allocations: 3.984 kB / 1.094 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.4473, allocations: 1.72 MB / 1.096 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4474, allocations: 12.12 kB / 1.096 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.4476, allocations: 63.89 kB / 1.096 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000765/0.4484, allocations: 259.2 kB / 1.096 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.4484, allocations: 12 kB / 1.096 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006114/0.4546, allocations: 6.587 MB / 1.102 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.4546, allocations: 4.422 kB / 1.102 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.4563, allocations: 0.9834 MB / 1.103 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/0.4566, allocations: 192.2 kB / 1.103 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/0.4567, allocations: 19.92 kB / 1.103 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.4571, allocations: 27.97 kB / 1.104 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.4572, allocations: 43.95 kB / 1.104 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.4572, allocations: 16 kB / 1.104 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004773/0.4577, allocations: 387.1 kB / 1.104 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4577, allocations: 0 / 1.104 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008378/0.4586, allocations: 224 kB / 1.104 GB, free: 1.211 MB / 0.8575 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.0002078/0.4588, allocations: 123.1 kB / 1.104 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.4608, allocations: 1.271 MB / 1.106 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4608, allocations: 0 / 1.106 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.462, allocations: 0.8974 MB / 1.106 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4631, allocations: 208.9 kB / 1.107 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.4656, allocations: 1.637 MB / 1.108 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.4663, allocations: 1.013 MB / 1.109 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004788/0.4668, allocations: 126 kB / 1.109 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.4669, allocations: 39.44 kB / 1.109 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of SimCode: time 7.41e-07/0.4669, allocations: 3.938 kB / 1.109 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.02112/0.4881, allocations: 10.79 MB / 1.12 GB, free: 1.043 MB / 0.8731 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=480 -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/jenkins/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