Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001644/0.001644, allocations: 105.6 kB / 16.27 MB, free: 6.113 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.00181/0.00181, allocations: 196.2 kB / 17.2 MB, free: 5.723 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 65.34 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2676, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03824/0.3059, allocations: 33.33 MB / 0.9828 GB, free: 7.438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02359/0.3296, allocations: 14.83 MB / 0.9973 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004228/0.3338, allocations: 155.2 kB / 0.9975 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.009807/0.3437, allocations: 3.651 MB / 1.001 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009117/0.3529, allocations: 2.89 MB / 1.004 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007181/0.3601, allocations: 2.327 MB / 1.006 GB, free: 15.52 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01336/0.3735, allocations: 8.812 MB / 1.015 GB, free: 6.68 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01541/0.3889, allocations: 9.644 MB / 1.024 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007413/0.3964, allocations: 3.942 MB / 1.028 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007625/0.4041, allocations: 4.046 MB / 1.032 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002838/0.407, allocations: 0.7148 MB / 1.033 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005485/0.4125, allocations: 1.709 MB / 1.034 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.005072/0.4176, allocations: 2.834 MB / 1.037 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.007743/0.4253, allocations: 3.392 MB / 1.04 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.4398, allocations: 11.11 MB / 1.051 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4399, allocations: 0 / 1.051 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4399, allocations: 0 / 1.051 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004029/0.4403, allocations: 4 kB / 1.051 GB, free: 1.082 MB / 0.8262 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.01705/0.4573, allocations: 5.971 MB / 1.057 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4574, allocations: 12.03 kB / 1.057 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00833/0.4658, allocations: 1.142 MB / 1.058 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00825/0.474, allocations: 3.34 MB / 1.061 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004663/0.4745, allocations: 370.4 kB / 1.062 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/0.4767, allocations: 500 kB / 1.062 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02331/0.5001, allocations: 7.997 MB / 1.07 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003363/0.5005, allocations: 19.78 kB / 1.07 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001824/0.5023, allocations: 220 kB / 1.07 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001286/0.5036, allocations: 437.6 kB / 1.071 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.5176, allocations: 6.081 MB / 1.077 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5468/1.064, allocations: 35.15 MB / 1.111 GB, free: 93.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/1.068, allocations: 2.016 MB / 1.113 GB, free: 92.72 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/1.071, allocations: 1.872 MB / 1.115 GB, free: 91.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/1.071, allocations: 17.84 kB / 1.115 GB, free: 91.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/1.071, allocations: 57.7 kB / 1.115 GB, free: 91.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=171): time 4.008e-06/1.071, allocations: 4 kB / 1.115 GB, free: 91.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=276): time 0.1482/1.219, allocations: 38.87 MB / 1.153 GB, free: 78.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/1.219, allocations: 79.98 kB / 1.153 GB, free: 78.69 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/1.222, allocations: 2.278 MB / 1.155 GB, free: 77.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004091/1.222, allocations: 75.98 kB / 1.155 GB, free: 77.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009018/1.223, allocations: 2.276 MB / 1.157 GB, free: 75.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006773/1.224, allocations: 0.9284 MB / 1.158 GB, free: 74.61 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007916/1.225, allocations: 0.5104 MB / 1.159 GB, free: 74.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.663e-05/1.225, allocations: 309.1 kB / 1.159 GB, free: 74.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/1.227, allocations: 1.975 MB / 1.161 GB, free: 72.06 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002471/1.23, allocations: 2.602 MB / 1.164 GB, free: 69.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/1.235, allocations: 4.925 MB / 1.168 GB, free: 64.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.235, allocations: 4 kB / 1.168 GB, free: 64.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01245/1.247, allocations: 7.759 MB / 1.176 GB, free: 56.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/1.247, allocations: 12 kB / 1.176 GB, free: 56.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/1.247, allocations: 20 kB / 1.176 GB, free: 56.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008223/1.255, allocations: 3.243 MB / 1.179 GB, free: 52.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/1.257, allocations: 402.9 kB / 1.18 GB, free: 52.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03478/1.292, allocations: 33.9 MB / 1.213 GB, free: 17.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/1.295, allocations: 155.8 kB / 1.213 GB, free: 17.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002745/1.295, allocations: 112 kB / 1.213 GB, free: 17.5 MB / 0.8575 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.002288/1.297, allocations: 1.799 MB / 1.215 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006524/1.298, allocations: 332 kB / 1.215 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.309, allocations: 7.364 MB / 1.222 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/1.309, allocations: 24 kB / 1.222 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.785e-05/1.309, allocations: 39.66 kB / 1.222 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-05/1.309, allocations: 11.95 kB / 1.222 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/1.33, allocations: 12.92 MB / 1.235 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/1.33, allocations: 7.938 kB / 1.235 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.331, allocations: 231.7 kB / 1.235 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008254/1.339, allocations: 2.874 MB / 1.238 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003663/1.34, allocations: 52 kB / 1.238 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0445/1.384, allocations: 32.69 MB / 1.27 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.384, allocations: 11.94 kB / 1.27 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.397, allocations: 6.893 MB / 1.277 GB, free: 14.97 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0021/1.399, allocations: 0.7782 MB / 1.277 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009803/1.4, allocations: 56 kB / 1.277 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/1.403, allocations: 167.8 kB / 1.278 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008757/1.404, allocations: 257.4 kB / 1.278 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/1.404, allocations: 75.98 kB / 1.278 GB, free: 13.62 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003343/1.407, allocations: 1.525 MB / 1.279 GB, free: 12.1 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.51e-07/1.407, allocations: 0 / 1.279 GB, free: 12.1 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004985/1.412, allocations: 1.367 MB / 1.281 GB, free: 10.73 MB / 0.92 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.0005306/1.413, allocations: 182.2 kB / 1.281 GB, free: 10.55 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01621/1.429, allocations: 8.372 MB / 1.289 GB, free: 2.102 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/1.429, allocations: 0 / 1.289 GB, free: 2.102 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.008726/1.438, allocations: 4.422 MB / 1.293 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005938/1.444, allocations: 1.105 MB / 1.295 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02247/1.466, allocations: 10.9 MB / 1.305 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006108/1.473, allocations: 3.749 MB / 1.309 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008259/1.473, allocations: 171.4 kB / 1.309 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of SimCode: time 1.483e-06/1.473, allocations: 4 kB / 1.309 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of Templates: time 0.6862/2.16, allocations: 227.3 MB / 1.531 GB, free: 376.1 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches