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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001094/0.001095, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001118/0.001118, allocations: 190.1 kB / 17.31 MB, free: 5.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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.609/2.609, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.92 kB / 0.8774 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007769/0.3226, allocations: 6.822 MB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.3269, allocations: 3.063 MB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.3273, allocations: 31.81 kB / 1.036 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.3295, allocations: 0.9604 MB / 1.037 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0009195/0.3304, allocations: 0.4973 MB / 1.038 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008942/0.3313, allocations: 447 kB / 1.038 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.3324, allocations: 1.224 MB / 1.039 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007674/0.3332, allocations: 0.6584 MB / 1.04 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004602/0.3336, allocations: 482.2 kB / 1.041 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005488/0.3342, allocations: 0.5137 MB / 1.041 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.69e-05/0.3343, allocations: 64 kB / 1.041 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005648/0.3349, allocations: 387.2 kB / 1.041 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.3351, allocations: 311.2 kB / 1.042 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.3355, allocations: 453.7 kB / 1.042 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.3365, allocations: 1.211 MB / 1.043 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3365, allocations: 0 / 1.043 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3365, allocations: 0 / 1.043 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.3366, allocations: 0 / 1.043 GB, free: 0.8711 MB / 0.8106 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.00168/0.3382, allocations: 1.177 MB / 1.045 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3383, allocations: 8.031 kB / 1.045 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.3397, allocations: 239.6 kB / 1.045 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.3406, allocations: 0.5999 MB / 1.045 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.3407, allocations: 53.66 kB / 1.045 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.3408, allocations: 64.28 kB / 1.045 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.342, allocations: 1.097 MB / 1.047 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.3421, allocations: 7.938 kB / 1.047 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.3421, allocations: 27.98 kB / 1.047 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/0.3423, allocations: 85.25 kB / 1.047 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3433, allocations: 0.7504 MB / 1.047 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004554/0.3478, allocations: 5.878 MB / 1.053 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008806/0.3487, allocations: 0.5477 MB / 1.054 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.3491, allocations: 326 kB / 1.054 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.3492, allocations: 4.438 kB / 1.054 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3492, allocations: 39 kB / 1.054 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=47): time 2.906e-06/0.3492, allocations: 0 / 1.054 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.003356/0.3526, allocations: 1.99 MB / 1.056 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3526, allocations: 59.84 kB / 1.056 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.3532, allocations: 0.5625 MB / 1.057 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.3532, allocations: 33.69 kB / 1.057 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.3534, allocations: 418.9 kB / 1.057 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.3536, allocations: 169.6 kB / 1.057 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.3537, allocations: 134.4 kB / 1.057 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3539, allocations: 374.7 kB / 1.058 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.3542, allocations: 277.8 kB / 1.058 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.3547, allocations: 496.9 kB / 1.058 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/0.3556, allocations: 0.8132 MB / 1.059 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3556, allocations: 4 kB / 1.059 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001546/0.3572, allocations: 1.083 MB / 1.06 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3572, allocations: 8 kB / 1.06 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3572, allocations: 4 kB / 1.06 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007688/0.358, allocations: 279.8 kB / 1.061 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.3585, allocations: 123.8 kB / 1.061 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005625/0.3641, allocations: 7.137 MB / 1.068 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.3646, allocations: 39.95 kB / 1.068 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.3647, allocations: 32 kB / 1.068 GB, free: 6.414 MB / 0.8419 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.0002986/0.365, allocations: 265.4 kB / 1.068 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.3651, allocations: 71.16 kB / 1.068 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.3664, allocations: 0.8886 MB / 1.069 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3665, allocations: 4.188 kB / 1.069 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3665, allocations: 8 kB / 1.069 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3665, allocations: 3.984 kB / 1.069 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.3688, allocations: 1.717 MB / 1.071 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.3688, allocations: 4 kB / 1.071 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.3691, allocations: 63.83 kB / 1.071 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006659/0.3697, allocations: 263.3 kB / 1.071 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.3698, allocations: 16 kB / 1.071 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.486/0.8558, allocations: 7.109 MB / 1.078 GB, free: 49.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.8559, allocations: 7.141 kB / 1.078 GB, free: 49.33 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.8577, allocations: 0.9907 MB / 1.079 GB, free: 49.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.8581, allocations: 195.2 kB / 1.079 GB, free: 49.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.8582, allocations: 13.22 kB / 1.079 GB, free: 49.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.8586, allocations: 30.31 kB / 1.079 GB, free: 49.02 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.8587, allocations: 47.41 kB / 1.079 GB, free: 49.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.8588, allocations: 15.06 kB / 1.079 GB, free: 49.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005527/0.8593, allocations: 388.3 kB / 1.079 GB, free: 48.92 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8593, allocations: 1.625 kB / 1.079 GB, free: 48.92 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008352/0.8602, allocations: 225.8 kB / 1.08 GB, free: 48.92 MB / 0.8419 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.0001511/0.8603, allocations: 123.4 kB / 1.08 GB, free: 48.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.8622, allocations: 1.276 MB / 1.081 GB, free: 48.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.8622, allocations: 5.625 kB / 1.081 GB, free: 48.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.8633, allocations: 0.8762 MB / 1.082 GB, free: 47.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009991/0.8643, allocations: 212 kB / 1.082 GB, free: 47.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.8665, allocations: 1.349 MB / 1.083 GB, free: 46.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.8672, allocations: 1.011 MB / 1.084 GB, free: 46.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004323/0.8677, allocations: 124.2 kB / 1.085 GB, free: 46.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.8678, allocations: 41.81 kB / 1.085 GB, free: 46.16 MB / 0.8419 GB Notification: Performance of SimCode: time 6.82e-07/0.8678, allocations: 4.672 kB / 1.085 GB, free: 46.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.02522/0.893, allocations: 11.19 MB / 1.096 GB, free: 45.55 MB / 0.8419 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 -s gbode -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