Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.7 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3386, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03723/0.3758, allocations: 33.33 MB / 1.101 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02265/0.3985, allocations: 14.83 MB / 1.115 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00351/0.4021, allocations: 159.2 kB / 1.115 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.009119/0.4112, allocations: 3.653 MB / 1.119 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009009/0.4203, allocations: 2.89 MB / 1.122 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006305/0.4266, allocations: 2.326 MB / 1.124 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01311/0.4397, allocations: 8.822 MB / 1.133 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01223/0.452, allocations: 9.636 MB / 1.142 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006441/0.4584, allocations: 3.942 MB / 1.146 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006468/0.4649, allocations: 4.038 MB / 1.15 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001691/0.4666, allocations: 0.7188 MB / 1.151 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/0.4706, allocations: 1.716 MB / 1.152 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00307/0.4737, allocations: 2.826 MB / 1.155 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005096/0.4788, allocations: 3.388 MB / 1.158 GB, free: 13.73 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.4902, allocations: 11.11 MB / 1.169 GB, free: 2.594 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4902, allocations: 0 / 1.169 GB, free: 2.594 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4902, allocations: 4 kB / 1.169 GB, free: 2.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003133/0.4905, allocations: 0 / 1.169 GB, free: 2.59 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01374/0.5043, allocations: 5.983 MB / 1.175 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.5043, allocations: 8.031 kB / 1.175 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006558/0.5109, allocations: 1.134 MB / 1.176 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007393/0.5183, allocations: 3.328 MB / 1.179 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003499/0.5187, allocations: 374.4 kB / 1.18 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00154/0.5203, allocations: 499.9 kB / 1.18 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.5364, allocations: 8.001 MB / 1.188 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001475/0.5366, allocations: 19.78 kB / 1.188 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006087/0.5372, allocations: 224 kB / 1.188 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001175/0.5384, allocations: 437.6 kB / 1.189 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.5518, allocations: 6.081 MB / 1.195 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05137/0.6032, allocations: 35.16 MB / 1.229 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.6061, allocations: 2.026 MB / 1.231 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/0.6087, allocations: 1.857 MB / 1.233 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.6088, allocations: 18 kB / 1.233 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/0.6089, allocations: 64.5 kB / 1.233 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=171): time 5.891e-06/0.6089, allocations: 4 kB / 1.233 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=276): time 0.823/1.432, allocations: 38.86 MB / 1.271 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/1.432, allocations: 84.23 kB / 1.271 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004883/1.437, allocations: 2.283 MB / 1.273 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000405/1.437, allocations: 73.64 kB / 1.273 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001549/1.439, allocations: 2.277 MB / 1.275 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.44, allocations: 0.9283 MB / 1.276 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001496/1.441, allocations: 0.509 MB / 1.277 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/1.442, allocations: 309.1 kB / 1.277 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00312/1.445, allocations: 1.968 MB / 1.279 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/1.448, allocations: 2.603 MB / 1.282 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006606/1.455, allocations: 4.932 MB / 1.286 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.486e-05/1.455, allocations: 12.38 kB / 1.286 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01353/1.468, allocations: 7.749 MB / 1.294 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/1.468, allocations: 15.78 kB / 1.294 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/1.468, allocations: 15.78 kB / 1.294 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009158/1.477, allocations: 3.236 MB / 1.297 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/1.479, allocations: 410.1 kB / 1.298 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0355/1.515, allocations: 33.89 MB / 1.331 GB, free: 116.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003742/1.519, allocations: 167.8 kB / 1.331 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005639/1.519, allocations: 108 kB / 1.331 GB, free: 116 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003203/1.523, allocations: 1.8 MB / 1.333 GB, free: 114.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008092/1.523, allocations: 332 kB / 1.333 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.535, allocations: 7.364 MB / 1.34 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/1.535, allocations: 24 kB / 1.34 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.928e-05/1.535, allocations: 32 kB / 1.34 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/1.535, allocations: 11.95 kB / 1.34 GB, free: 106.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/1.555, allocations: 12.93 MB / 1.353 GB, free: 93.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.555, allocations: 4 kB / 1.353 GB, free: 93.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/1.556, allocations: 228.7 kB / 1.353 GB, free: 93.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007107/1.563, allocations: 2.887 MB / 1.356 GB, free: 90.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002743/1.563, allocations: 52 kB / 1.356 GB, free: 90.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03303/1.596, allocations: 32.69 MB / 1.388 GB, free: 56.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.596, allocations: 11.94 kB / 1.388 GB, free: 56.56 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/1.607, allocations: 6.882 MB / 1.395 GB, free: 49.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.608, allocations: 0.7782 MB / 1.395 GB, free: 48.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004981/1.609, allocations: 56.88 kB / 1.395 GB, free: 48.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/1.611, allocations: 163.8 kB / 1.396 GB, free: 48.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007478/1.611, allocations: 262.6 kB / 1.396 GB, free: 48.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.612, allocations: 72 kB / 1.396 GB, free: 48.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001702/1.613, allocations: 1.525 MB / 1.397 GB, free: 46.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.613, allocations: 0 / 1.397 GB, free: 46.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003698/1.617, allocations: 1.371 MB / 1.399 GB, free: 45.23 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003069/1.617, allocations: 183.5 kB / 1.399 GB, free: 45.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.629, allocations: 8.364 MB / 1.407 GB, free: 36.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.629, allocations: 0 / 1.407 GB, free: 36.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006444/1.636, allocations: 4.422 MB / 1.411 GB, free: 32.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004797/1.641, allocations: 1.112 MB / 1.412 GB, free: 31.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/1.656, allocations: 10.21 MB / 1.422 GB, free: 20.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003244/1.659, allocations: 3.646 MB / 1.426 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001962/1.661, allocations: 0.5549 MB / 1.427 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/1.661, allocations: 159.4 kB / 1.427 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.661, allocations: 0 / 1.427 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.1356/1.797, allocations: 77.56 MB / 1.502 GB, free: 3.914 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches