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 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.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.001447/0.001448, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001605/0.001605, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 63.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9175/0.9196, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04055/0.9602, allocations: 33.34 MB / 1.241 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02724/0.9875, allocations: 14.82 MB / 1.255 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004414/0.992, allocations: 155.2 kB / 1.256 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01067/1.003, allocations: 3.662 MB / 1.259 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009724/1.012, allocations: 2.886 MB / 1.262 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00744/1.02, allocations: 2.319 MB / 1.264 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01316/1.033, allocations: 8.809 MB / 1.273 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0165/1.05, allocations: 9.577 MB / 1.282 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008495/1.058, allocations: 4.008 MB / 1.286 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007944/1.066, allocations: 4.046 MB / 1.29 GB, free: 9.703 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.003301/1.07, allocations: 0.7148 MB / 1.291 GB, free: 8.988 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006774/1.076, allocations: 1.72 MB / 1.292 GB, free: 7.27 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00609/1.083, allocations: 2.826 MB / 1.295 GB, free: 4.438 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00968/1.092, allocations: 3.392 MB / 1.299 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0198/1.112, allocations: 11.19 MB / 1.309 GB, free: 5.812 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.112, allocations: 0 / 1.309 GB, free: 5.812 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.505e-06/1.112, allocations: 7.938 kB / 1.309 GB, free: 5.805 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000395/1.113, allocations: 3.984 kB / 1.309 GB, free: 5.801 MB / 1.029 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.01738/1.13, allocations: 5.972 MB / 1.315 GB, free: 15.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.13, allocations: 12.02 kB / 1.315 GB, free: 15.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008296/1.138, allocations: 1.142 MB / 1.316 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008389/1.147, allocations: 3.516 MB / 1.32 GB, free: 11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004579/1.147, allocations: 374.4 kB / 1.32 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/1.149, allocations: 0.4999 MB / 1.321 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01951/1.169, allocations: 7.997 MB / 1.329 GB, free: 1.852 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000227/1.169, allocations: 23.78 kB / 1.329 GB, free: 1.828 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001362/1.171, allocations: 216 kB / 1.329 GB, free: 1.617 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001117/1.172, allocations: 437.5 kB / 1.329 GB, free: 1.188 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/1.184, allocations: 6.085 MB / 1.335 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04673/1.231, allocations: 34.89 MB / 1.369 GB, free: 5.016 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/1.234, allocations: 2.018 MB / 1.371 GB, free: 2.992 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003019/1.237, allocations: 1.873 MB / 1.373 GB, free: 1.117 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/1.238, allocations: 18 kB / 1.373 GB, free: 1.102 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/1.238, allocations: 60.5 kB / 1.373 GB, free: 1.031 MB / 1.092 GB Notification: Performance of pre-optimization done (n=171): time 4.789e-06/1.238, allocations: 0 / 1.373 GB, free: 1.031 MB / 1.092 GB Notification: Performance of matching and sorting (n=276): time 0.1608/1.399, allocations: 38.9 MB / 1.411 GB, free: 10.03 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/1.399, allocations: 77.58 kB / 1.411 GB, free: 9.938 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004084/1.403, allocations: 2.278 MB / 1.413 GB, free: 7.645 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000562/1.403, allocations: 73.7 kB / 1.413 GB, free: 7.566 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001722/1.405, allocations: 2.276 MB / 1.416 GB, free: 5.266 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.406, allocations: 0.9318 MB / 1.417 GB, free: 4.32 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/1.408, allocations: 0.5061 MB / 1.417 GB, free: 3.805 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.408, allocations: 309.1 kB / 1.417 GB, free: 3.5 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003121/1.411, allocations: 1.977 MB / 1.419 GB, free: 1.52 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003556/1.415, allocations: 2.606 MB / 1.422 GB, free: 14.67 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007028/1.422, allocations: 4.925 MB / 1.427 GB, free: 9.473 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.133e-05/1.422, allocations: 4 kB / 1.427 GB, free: 9.469 MB / 1.154 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01573/1.437, allocations: 7.761 MB / 1.434 GB, free: 1.641 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/1.438, allocations: 16 kB / 1.434 GB, free: 1.625 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/1.438, allocations: 16 kB / 1.434 GB, free: 1.609 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009611/1.447, allocations: 3.211 MB / 1.437 GB, free: 14.38 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/1.449, allocations: 407.3 kB / 1.438 GB, free: 13.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04674/1.496, allocations: 33.87 MB / 1.471 GB, free: 11.26 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/1.499, allocations: 163.8 kB / 1.471 GB, free: 11.1 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005296/1.5, allocations: 108.4 kB / 1.471 GB, free: 10.99 MB / 1.201 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.003802/1.504, allocations: 1.8 MB / 1.473 GB, free: 9.184 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.505, allocations: 328.1 kB / 1.473 GB, free: 8.859 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/1.52, allocations: 7.364 MB / 1.48 GB, free: 1.414 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/1.52, allocations: 31.92 kB / 1.48 GB, free: 1.383 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-05/1.52, allocations: 35.98 kB / 1.48 GB, free: 1.348 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.313e-05/1.52, allocations: 15.95 kB / 1.48 GB, free: 1.332 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/1.547, allocations: 12.91 MB / 1.493 GB, free: 4.246 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-05/1.548, allocations: 15.88 kB / 1.493 GB, free: 4.23 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/1.549, allocations: 231.6 kB / 1.493 GB, free: 4.004 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00875/1.557, allocations: 2.853 MB / 1.496 GB, free: 1.133 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004567/1.558, allocations: 48 kB / 1.496 GB, free: 1.086 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04659/1.605, allocations: 32.66 MB / 1.528 GB, free: 15.57 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.605, allocations: 11.94 kB / 1.528 GB, free: 15.56 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/1.619, allocations: 6.898 MB / 1.535 GB, free: 8.445 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/1.621, allocations: 0.7744 MB / 1.536 GB, free: 7.648 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/1.622, allocations: 59.92 kB / 1.536 GB, free: 7.59 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/1.625, allocations: 167.7 kB / 1.536 GB, free: 7.426 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00101/1.626, allocations: 257.4 kB / 1.536 GB, free: 7.176 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003061/1.626, allocations: 76 kB / 1.536 GB, free: 7.102 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003116/1.629, allocations: 1.529 MB / 1.538 GB, free: 5.57 MB / 1.264 GB Notification: Performance of sort global known variables: time 3e-07/1.629, allocations: 0 / 1.538 GB, free: 5.57 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.005259/1.634, allocations: 1.371 MB / 1.539 GB, free: 4.199 MB / 1.264 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.000593/1.635, allocations: 171 kB / 1.539 GB, free: 4.023 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0132/1.648, allocations: 6.927 MB / 1.546 GB, free: 13 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.049e-05/1.648, allocations: 4.375 kB / 1.546 GB, free: 13 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0089/1.657, allocations: 4.413 MB / 1.55 GB, free: 8.508 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006464/1.664, allocations: 1.102 MB / 1.551 GB, free: 7.441 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7111/2.375, allocations: 10.76 MB / 1.562 GB, free: 318.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007606/2.382, allocations: 3.757 MB / 1.565 GB, free: 317.5 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/2.383, allocations: 173.8 kB / 1.566 GB, free: 317.5 MB / 1.279 GB Notification: Performance of SimCode: time 1.162e-06/2.383, allocations: 0 / 1.566 GB, free: 317.5 MB / 1.279 GB Notification: Performance of Templates: time 0.1923/2.576, allocations: 227.6 MB / 1.788 GB, free: 115.6 MB / 1.279 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/jenkins1/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