Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 108.2 kB / 16.42 MB, free: 5.953 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.001652/0.001652, allocations: 192.7 kB / 17.35 MB, free: 5.574 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.368/1.368, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 68.12 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8696, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02658/0.8963, allocations: 23.42 MB / 1.249 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.908, allocations: 6.499 MB / 1.256 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.9101, allocations: 99.5 kB / 1.256 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004039/0.9142, allocations: 1.491 MB / 1.257 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004814/0.919, allocations: 1.929 MB / 1.259 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004164/0.9232, allocations: 1.472 MB / 1.26 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008397/0.9316, allocations: 6.912 MB / 1.267 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009773/0.9414, allocations: 6.937 MB / 1.274 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005226/0.9466, allocations: 2.882 MB / 1.277 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005884/0.9525, allocations: 3.466 MB / 1.28 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00167/0.9542, allocations: 0.5273 MB / 1.281 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.9577, allocations: 1.174 MB / 1.282 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003737/0.9615, allocations: 2.464 MB / 1.284 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004986/0.9665, allocations: 2.532 MB / 1.287 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.9774, allocations: 8.543 MB / 1.295 GB, free: 6.867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.9774, allocations: 0 / 1.295 GB, free: 6.867 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9775, allocations: 0 / 1.295 GB, free: 6.867 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003288/0.9778, allocations: 4 kB / 1.295 GB, free: 6.863 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01135/0.9892, allocations: 4.543 MB / 1.299 GB, free: 2.246 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.9892, allocations: 8.031 kB / 1.3 GB, free: 2.238 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00851/0.9977, allocations: 1.707 MB / 1.301 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/1.003, allocations: 2.713 MB / 1.304 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/1.004, allocations: 275.7 kB / 1.304 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009636/1.005, allocations: 360.3 kB / 1.304 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/1.018, allocations: 7.487 MB / 1.312 GB, free: 5.387 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.687e-05/1.018, allocations: 15.88 kB / 1.312 GB, free: 5.371 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004965/1.018, allocations: 159.9 kB / 1.312 GB, free: 5.215 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005888/1.019, allocations: 495.3 kB / 1.312 GB, free: 4.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/1.03, allocations: 5.697 MB / 1.318 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03533/1.065, allocations: 31.55 MB / 1.349 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/1.068, allocations: 2.086 MB / 1.351 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002754/1.07, allocations: 2.178 MB / 1.353 GB, free: 8.426 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/1.071, allocations: 17.31 kB / 1.353 GB, free: 8.406 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.071, allocations: 47.88 kB / 1.353 GB, free: 8.352 MB / 1.076 GB Notification: Performance of pre-optimization done (n=146): time 4.749e-06/1.071, allocations: 0 / 1.353 GB, free: 8.352 MB / 1.076 GB Notification: Performance of matching and sorting (n=251): time 0.2658/1.336, allocations: 77.08 MB / 1.428 GB, free: 11.14 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/1.337, allocations: 81.34 kB / 1.428 GB, free: 11.04 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/1.34, allocations: 1.67 MB / 1.43 GB, free: 9.328 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004164/1.34, allocations: 69.7 kB / 1.43 GB, free: 9.254 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/1.341, allocations: 1.792 MB / 1.432 GB, free: 7.445 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.342, allocations: 0.8907 MB / 1.433 GB, free: 6.547 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/1.344, allocations: 489.3 kB / 1.433 GB, free: 6.062 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.344, allocations: 305.1 kB / 1.433 GB, free: 5.762 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003928/1.348, allocations: 2.734 MB / 1.436 GB, free: 3.023 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004324/1.352, allocations: 3.324 MB / 1.439 GB, free: 15.45 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008744/1.361, allocations: 6.397 MB / 1.446 GB, free: 8.816 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.092e-05/1.361, allocations: 4 kB / 1.446 GB, free: 8.812 MB / 1.17 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03584/1.397, allocations: 14.69 MB / 1.46 GB, free: 10.07 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/1.397, allocations: 13.56 kB / 1.46 GB, free: 10.06 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.164e-05/1.397, allocations: 16 kB / 1.46 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04537/1.442, allocations: 9.247 MB / 1.469 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/1.444, allocations: 303.4 kB / 1.469 GB, free: 484 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08701/1.531, allocations: 52.4 MB / 1.52 GB, free: 11.18 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/1.534, allocations: 223.7 kB / 1.521 GB, free: 10.96 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005278/1.535, allocations: 96 kB / 1.521 GB, free: 10.87 MB / 1.248 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003288/1.538, allocations: 1.59 MB / 1.522 GB, free: 9.266 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009304/1.539, allocations: 258.5 kB / 1.523 GB, free: 9.012 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03378/1.573, allocations: 14.75 MB / 1.537 GB, free: 10.2 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.801e-05/1.573, allocations: 11.95 kB / 1.537 GB, free: 10.19 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.573, allocations: 0 / 1.537 GB, free: 10.19 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/1.575, allocations: 0.8585 MB / 1.538 GB, free: 9.309 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008097/1.576, allocations: 47.88 kB / 1.538 GB, free: 9.262 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.578, allocations: 195.7 kB / 1.538 GB, free: 9.07 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001336/1.58, allocations: 489 kB / 1.538 GB, free: 8.594 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02804/1.608, allocations: 11.63 MB / 1.55 GB, free: 12.93 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01454/1.622, allocations: 9.095 MB / 1.559 GB, free: 3.812 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004096/1.627, allocations: 2.802 MB / 1.561 GB, free: 1.012 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.6963/2.323, allocations: 1.121 MB / 1.563 GB, free: 312.3 MB / 1.279 GB Notification: Performance of Backend: time 1.072e-06/2.323, allocations: 0 / 1.563 GB, free: 312.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02484/2.348, allocations: 8.322 MB / 1.571 GB, free: 311.2 MB / 1.279 GB Notification: Performance of SimCode: time 0.01935/2.367, allocations: 9.527 MB / 1.58 GB, free: 307.1 MB / 1.279 GB Notification: Performance of Templates: time 0.1048/2.472, allocations: 82.7 MB / 1.661 GB, free: 244.8 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches