Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001949/0.001949, 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.003045/0.003045, allocations: 194.7 kB / 16.14 MB, free: 6.676 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.604/1.604, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.993/2.993, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7194, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04647/0.7659, allocations: 33.04 MB / 1.049 GB, free: 1.656 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02813/0.7941, allocations: 14.78 MB / 1.063 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004635/0.7988, allocations: 143.2 kB / 1.063 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.8093, allocations: 3.4 MB / 1.067 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/0.82, allocations: 2.686 MB / 1.069 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007735/0.8278, allocations: 2.122 MB / 1.071 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01813/0.846, allocations: 12.2 MB / 1.083 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02197/0.868, allocations: 10.36 MB / 1.094 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008034/0.8761, allocations: 3.43 MB / 1.097 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008055/0.8841, allocations: 4.1 MB / 1.101 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002432/0.8866, allocations: 484 kB / 1.101 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005875/0.8925, allocations: 1.743 MB / 1.103 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005519/0.8981, allocations: 2.588 MB / 1.106 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.009619/0.9077, allocations: 3.115 MB / 1.109 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01945/0.9272, allocations: 10.99 MB / 1.119 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9273, allocations: 0 / 1.119 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9273, allocations: 0 / 1.119 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0004305/0.9277, allocations: 8 kB / 1.119 GB, free: 9.238 MB / 0.8731 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.01647/0.9442, allocations: 5.968 MB / 1.125 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.9443, allocations: 11.98 kB / 1.125 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00772/0.952, allocations: 1.149 MB / 1.126 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007854/0.9599, allocations: 3.321 MB / 1.13 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/0.9603, allocations: 382.4 kB / 1.13 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/0.9619, allocations: 496 kB / 1.13 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01756/0.9795, allocations: 7.997 MB / 1.138 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002179/0.9797, allocations: 23.84 kB / 1.138 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001362/0.9811, allocations: 212 kB / 1.138 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001316/0.9824, allocations: 441.6 kB / 1.139 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.9985, allocations: 6.085 MB / 1.145 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05077/1.049, allocations: 35.16 MB / 1.179 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/1.053, allocations: 2.022 MB / 1.181 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003011/1.056, allocations: 1.873 MB / 1.183 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/1.056, allocations: 18 kB / 1.183 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/1.056, allocations: 60.44 kB / 1.183 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=171): time 4.358e-06/1.056, allocations: 0 / 1.183 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=276): time 0.1537/1.21, allocations: 38.88 MB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.21, allocations: 85.56 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005586/1.215, allocations: 2.278 MB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000737/1.216, allocations: 73.7 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002806/1.219, allocations: 2.276 MB / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001711/1.221, allocations: 0.9279 MB / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/1.222, allocations: 0.5061 MB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.223, allocations: 313.1 kB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005014/1.228, allocations: 1.973 MB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006925/1.235, allocations: 2.595 MB / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/1.248, allocations: 4.929 MB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.763e-05/1.248, allocations: 4 kB / 1.237 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.02134/1.27, allocations: 7.766 MB / 1.244 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/1.27, allocations: 12 kB / 1.244 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/1.27, allocations: 20 kB / 1.244 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/1.28, allocations: 3.206 MB / 1.247 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/1.282, allocations: 411.2 kB / 1.248 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6599/1.942, allocations: 31.08 MB / 1.278 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/1.945, allocations: 163.6 kB / 1.278 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/1.946, allocations: 108.5 kB / 1.278 GB, free: 194.9 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.003387/1.949, allocations: 1.797 MB / 1.28 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007916/1.95, allocations: 334.2 kB / 1.28 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.963, allocations: 7.355 MB / 1.288 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.699e-05/1.963, allocations: 27.72 kB / 1.288 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001238/1.963, allocations: 27.69 kB / 1.288 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.889e-05/1.963, allocations: 16.22 kB / 1.288 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/1.985, allocations: 12.93 MB / 1.3 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.985, allocations: 11.28 kB / 1.3 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009083/1.986, allocations: 230.3 kB / 1.3 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007529/1.994, allocations: 2.842 MB / 1.303 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003475/1.994, allocations: 54.28 kB / 1.303 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03225/2.026, allocations: 29.91 MB / 1.333 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/2.026, allocations: 8 kB / 1.333 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/2.04, allocations: 6.879 MB / 1.339 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/2.042, allocations: 0.7843 MB / 1.34 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005559/2.042, allocations: 59.38 kB / 1.34 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/2.044, allocations: 167.8 kB / 1.34 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/2.045, allocations: 249.5 kB / 1.34 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/2.045, allocations: 76 kB / 1.341 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001947/2.047, allocations: 1.521 MB / 1.342 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/2.047, allocations: 0 / 1.342 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004387/2.052, allocations: 1.379 MB / 1.343 GB, free: 142.3 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.0004148/2.052, allocations: 175.4 kB / 1.344 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01045/2.063, allocations: 6.891 MB / 1.35 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/2.063, allocations: 8.25 kB / 1.35 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006684/2.069, allocations: 4.411 MB / 1.355 GB, free: 130.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004817/2.074, allocations: 1.029 MB / 1.356 GB, free: 129.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/2.091, allocations: 12.48 MB / 1.368 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003545/2.094, allocations: 3.638 MB / 1.371 GB, free: 113.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002148/2.096, allocations: 0.5595 MB / 1.372 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/2.097, allocations: 163.4 kB / 1.372 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.332e-06/2.097, allocations: 4 kB / 1.372 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.1059/2.203, allocations: 75.2 MB / 1.445 GB, free: 38.53 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches