Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 110.4 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.001663/0.001663, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.422/1.422, 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.697/2.697, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 59.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9962/0.9977, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03412/1.032, allocations: 30.77 MB / 1.238 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02248/1.054, allocations: 13.58 MB / 1.252 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004046/1.058, allocations: 143.2 kB / 1.252 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008675/1.067, allocations: 3.194 MB / 1.255 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008673/1.076, allocations: 2.661 MB / 1.258 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00615/1.082, allocations: 2.01 MB / 1.26 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01253/1.095, allocations: 7.619 MB / 1.267 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01436/1.109, allocations: 8.244 MB / 1.275 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007107/1.116, allocations: 3.47 MB / 1.278 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00636/1.123, allocations: 3.387 MB / 1.282 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002063/1.125, allocations: 0.5938 MB / 1.282 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004813/1.129, allocations: 1.49 MB / 1.284 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004063/1.134, allocations: 2.366 MB / 1.286 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007059/1.141, allocations: 2.878 MB / 1.289 GB, free: 10.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01505/1.156, allocations: 9.465 MB / 1.298 GB, free: 1.344 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.156, allocations: 0 / 1.298 GB, free: 1.344 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.964e-06/1.156, allocations: 0 / 1.298 GB, free: 1.344 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003726/1.156, allocations: 0 / 1.298 GB, free: 1.344 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01578/1.172, allocations: 5.132 MB / 1.303 GB, free: 12.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.172, allocations: 8.031 kB / 1.303 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006569/1.179, allocations: 1.006 MB / 1.304 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006821/1.185, allocations: 3.071 MB / 1.307 GB, free: 7.961 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/1.186, allocations: 320.8 kB / 1.307 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/1.187, allocations: 427.9 kB / 1.308 GB, free: 7.227 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/1.199, allocations: 6.787 MB / 1.314 GB, free: 148 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/1.199, allocations: 27.83 kB / 1.315 GB, free: 120 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004956/1.2, allocations: 184.1 kB / 1.315 GB, free: 15.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009077/1.201, allocations: 368 kB / 1.315 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009641/1.211, allocations: 5.114 MB / 1.32 GB, free: 10.44 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03561/1.246, allocations: 30.5 MB / 1.35 GB, free: 9.172 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/1.248, allocations: 1.391 MB / 1.351 GB, free: 7.773 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/1.25, allocations: 1.332 MB / 1.352 GB, free: 6.441 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.927e-05/1.25, allocations: 21.23 kB / 1.353 GB, free: 6.422 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/1.25, allocations: 47.88 kB / 1.353 GB, free: 6.367 MB / 1.076 GB Notification: Performance of pre-optimization done (n=130): time 3.176e-06/1.25, allocations: 4 kB / 1.353 GB, free: 6.363 MB / 1.076 GB Notification: Performance of matching and sorting (n=199): time 0.08696/1.337, allocations: 23.09 MB / 1.375 GB, free: 15.16 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/1.337, allocations: 73.41 kB / 1.375 GB, free: 15.07 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/1.34, allocations: 2.062 MB / 1.377 GB, free: 13 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003217/1.34, allocations: 61.7 kB / 1.377 GB, free: 12.93 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/1.342, allocations: 2.006 MB / 1.379 GB, free: 10.9 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006802/1.342, allocations: 0.6777 MB / 1.38 GB, free: 10.21 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006932/1.343, allocations: 408.2 kB / 1.38 GB, free: 9.805 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.343, allocations: 305.1 kB / 1.381 GB, free: 9.504 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/1.345, allocations: 1.433 MB / 1.382 GB, free: 8.066 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/1.347, allocations: 2.013 MB / 1.384 GB, free: 5.801 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004672/1.352, allocations: 3.692 MB / 1.388 GB, free: 1.871 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/1.352, allocations: 4 kB / 1.388 GB, free: 1.867 MB / 1.107 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01096/1.363, allocations: 5.672 MB / 1.393 GB, free: 12.12 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/1.363, allocations: 12 kB / 1.393 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/1.363, allocations: 16.84 kB / 1.393 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006561/1.37, allocations: 2.079 MB / 1.395 GB, free: 9.961 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/1.371, allocations: 383.3 kB / 1.395 GB, free: 9.586 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04056/1.412, allocations: 38.43 MB / 1.433 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/1.415, allocations: 123.9 kB / 1.433 GB, free: 0.5078 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/1.415, allocations: 95.98 kB / 1.433 GB, free: 424 kB / 1.154 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002726/1.418, allocations: 1.504 MB / 1.435 GB, free: 14.9 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006486/1.418, allocations: 280.7 kB / 1.435 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.429, allocations: 5.219 MB / 1.44 GB, free: 9.324 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/1.429, allocations: 20 kB / 1.44 GB, free: 9.305 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.967e-05/1.429, allocations: 27.94 kB / 1.44 GB, free: 9.277 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/1.429, allocations: 7.969 kB / 1.44 GB, free: 9.27 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/1.447, allocations: 9.677 MB / 1.45 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.447, allocations: 4 kB / 1.45 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/1.448, allocations: 219.6 kB / 1.45 GB, free: 15.17 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005923/1.454, allocations: 1.846 MB / 1.452 GB, free: 13.26 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/1.454, allocations: 43.94 kB / 1.452 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0375/1.491, allocations: 37.43 MB / 1.488 GB, free: 5.258 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.491, allocations: 19.98 kB / 1.488 GB, free: 5.238 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009117/1.501, allocations: 4.909 MB / 1.493 GB, free: 172 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.502, allocations: 0.6108 MB / 1.494 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004682/1.503, allocations: 44 kB / 1.494 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.504, allocations: 135.7 kB / 1.494 GB, free: 15.36 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006336/1.505, allocations: 193.6 kB / 1.494 GB, free: 15.17 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.505, allocations: 60 kB / 1.494 GB, free: 15.11 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001974/1.507, allocations: 1.374 MB / 1.495 GB, free: 13.73 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/1.507, allocations: 0 / 1.495 GB, free: 13.73 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003564/1.51, allocations: 1.047 MB / 1.496 GB, free: 12.68 MB / 1.232 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003692/1.511, allocations: 170.9 kB / 1.497 GB, free: 12.51 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01012/1.521, allocations: 6.284 MB / 1.503 GB, free: 5.992 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/1.521, allocations: 4 kB / 1.503 GB, free: 5.988 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.007039/1.528, allocations: 4.403 MB / 1.507 GB, free: 1.355 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/1.533, allocations: 0.9819 MB / 1.508 GB, free: 412 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/1.548, allocations: 8.615 MB / 1.516 GB, free: 7.695 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003986/1.552, allocations: 3.191 MB / 1.519 GB, free: 4.469 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007231/1.553, allocations: 167.4 kB / 1.52 GB, free: 4.305 MB / 1.248 GB Notification: Performance of SimCode: time 9.72e-07/1.553, allocations: 0 / 1.52 GB, free: 4.305 MB / 1.248 GB Notification: Performance of Templates: time 0.9528/2.506, allocations: 465 MB / 1.974 GB, free: 12.32 MB / 1.373 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches