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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001523/0.001523, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001398/0.001398, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 61.09 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3025, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03911/0.3417, allocations: 33.33 MB / 0.9837 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02665/0.3684, allocations: 14.83 MB / 0.9982 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005053/0.3734, allocations: 155.2 kB / 0.9983 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.3841, allocations: 3.659 MB / 1.002 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.3966, allocations: 2.882 MB / 1.005 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.008249/0.4049, allocations: 2.327 MB / 1.007 GB, free: 14.68 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01508/0.42, allocations: 8.822 MB / 1.016 GB, free: 5.836 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01471/0.4347, allocations: 9.574 MB / 1.025 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009333/0.4441, allocations: 3.957 MB / 1.029 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008764/0.4529, allocations: 4.038 MB / 1.033 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.003025/0.456, allocations: 0.7188 MB / 1.033 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006216/0.4623, allocations: 1.72 MB / 1.035 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.005416/0.4677, allocations: 2.822 MB / 1.038 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.008771/0.4765, allocations: 3.396 MB / 1.041 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01806/0.4946, allocations: 11.18 MB / 1.052 GB, free: 232 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.4947, allocations: 0 / 1.052 GB, free: 232 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4947, allocations: 0 / 1.052 GB, free: 232 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004309/0.4951, allocations: 4 kB / 1.052 GB, free: 228 kB / 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.02473/0.5199, allocations: 5.983 MB / 1.058 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.5199, allocations: 12.03 kB / 1.058 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009313/0.5293, allocations: 1.13 MB / 1.059 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.54, allocations: 3.527 MB / 1.063 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004708/0.5405, allocations: 374.3 kB / 1.063 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002478/0.543, allocations: 500 kB / 1.063 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0198/0.5628, allocations: 8.001 MB / 1.071 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/0.5631, allocations: 19.78 kB / 1.071 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007827/0.5639, allocations: 220 kB / 1.071 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00114/0.565, allocations: 437.6 kB / 1.072 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/0.5785, allocations: 6.085 MB / 1.078 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6174/1.196, allocations: 34.88 MB / 1.112 GB, free: 93.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/1.199, allocations: 2.024 MB / 1.114 GB, free: 92.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003088/1.203, allocations: 1.862 MB / 1.116 GB, free: 91.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/1.203, allocations: 17.84 kB / 1.116 GB, free: 91.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/1.203, allocations: 62.55 kB / 1.116 GB, free: 91.51 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=171): time 4.519e-06/1.203, allocations: 0 / 1.116 GB, free: 91.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=276): time 0.139/1.342, allocations: 38.87 MB / 1.154 GB, free: 78.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.342, allocations: 78.83 kB / 1.154 GB, free: 78.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/1.345, allocations: 2.28 MB / 1.156 GB, free: 76.92 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000407/1.345, allocations: 73.05 kB / 1.156 GB, free: 76.85 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/1.346, allocations: 2.283 MB / 1.158 GB, free: 74.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006595/1.347, allocations: 0.9269 MB / 1.159 GB, free: 74.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008129/1.348, allocations: 0.5101 MB / 1.16 GB, free: 73.63 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.703e-05/1.348, allocations: 309.1 kB / 1.16 GB, free: 73.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/1.35, allocations: 1.973 MB / 1.162 GB, free: 71.35 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/1.352, allocations: 2.602 MB / 1.164 GB, free: 68.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004855/1.357, allocations: 4.921 MB / 1.169 GB, free: 63.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/1.357, allocations: 8 kB / 1.169 GB, free: 63.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01348/1.371, allocations: 7.767 MB / 1.177 GB, free: 55.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/1.371, allocations: 18.03 kB / 1.177 GB, free: 55.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-05/1.371, allocations: 16 kB / 1.177 GB, free: 55.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0086/1.38, allocations: 3.21 MB / 1.18 GB, free: 52.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/1.381, allocations: 407 kB / 1.18 GB, free: 51.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03496/1.416, allocations: 33.86 MB / 1.213 GB, free: 17.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/1.42, allocations: 175.8 kB / 1.214 GB, free: 16.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/1.42, allocations: 104 kB / 1.214 GB, free: 16.84 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.00299/1.423, allocations: 1.807 MB / 1.215 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007359/1.424, allocations: 328.2 kB / 1.216 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.435, allocations: 7.353 MB / 1.223 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/1.436, allocations: 27.94 kB / 1.223 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.845e-05/1.436, allocations: 36 kB / 1.223 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-05/1.436, allocations: 15.42 kB / 1.223 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/1.458, allocations: 12.92 MB / 1.236 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/1.458, allocations: 8 kB / 1.236 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009812/1.459, allocations: 235.6 kB / 1.236 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007935/1.467, allocations: 2.846 MB / 1.239 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003395/1.468, allocations: 56 kB / 1.239 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04273/1.51, allocations: 32.66 MB / 1.271 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.51, allocations: 8 kB / 1.271 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/1.523, allocations: 6.891 MB / 1.277 GB, free: 14.37 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002806/1.526, allocations: 0.7744 MB / 1.278 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007035/1.527, allocations: 56.38 kB / 1.278 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/1.529, allocations: 167.8 kB / 1.278 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/1.53, allocations: 253.5 kB / 1.279 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/1.53, allocations: 79.94 kB / 1.279 GB, free: 13.03 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002341/1.532, allocations: 1.529 MB / 1.28 GB, free: 11.5 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.532, allocations: 0 / 1.28 GB, free: 11.5 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004986/1.537, allocations: 1.371 MB / 1.281 GB, free: 10.13 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.0004378/1.538, allocations: 180.4 kB / 1.282 GB, free: 9.945 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.549, allocations: 6.924 MB / 1.288 GB, free: 2.938 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.549, allocations: 0 / 1.288 GB, free: 2.938 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.007894/1.557, allocations: 4.417 MB / 1.293 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/1.562, allocations: 1.122 MB / 1.294 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/1.581, allocations: 10.08 MB / 1.304 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004939/1.586, allocations: 3.639 MB / 1.307 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002411/1.589, allocations: 0.5634 MB / 1.308 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/1.589, allocations: 159.4 kB / 1.308 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of SimCode: time 1.493e-06/1.589, allocations: 0 / 1.308 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of Templates: time 0.1323/1.721, allocations: 75.01 MB / 1.381 GB, free: 4.93 MB / 1.014 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 -s cvode -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