Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 111.7 kB / 16.42 MB, free: 6.457 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.001769/0.001769, allocations: 186.7 kB / 17.35 MB, free: 5.703 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.933/2.933, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8461/0.8475, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01796/0.8655, allocations: 14.07 MB / 1.181 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.8795, allocations: 9.388 MB / 1.19 GB, free: 12.29 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.881, allocations: 59.62 kB / 1.19 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004632/0.8857, allocations: 1.668 MB / 1.192 GB, free: 10.55 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004913/0.8907, allocations: 1.575 MB / 1.193 GB, free: 8.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.8932, allocations: 0.7546 MB / 1.194 GB, free: 8.223 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004472/0.8977, allocations: 2.522 MB / 1.197 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.9003, allocations: 1.418 MB / 1.198 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.9024, allocations: 1.071 MB / 1.199 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.9051, allocations: 1.14 MB / 1.2 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006771/0.9058, allocations: 164 kB / 1.2 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.9081, allocations: 0.7916 MB / 1.201 GB, free: 1.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.9091, allocations: 0.6232 MB / 1.202 GB, free: 456 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.9112, allocations: 0.9329 MB / 1.203 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004776/0.916, allocations: 2.762 MB / 1.205 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.916, allocations: 0 / 1.205 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.525e-06/0.916, allocations: 0 / 1.205 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.00013/0.9161, allocations: 0 / 1.205 GB, free: 12.74 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006538/0.9227, allocations: 2.131 MB / 1.207 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.9227, allocations: 8.922 kB / 1.207 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.9347, allocations: 2.089 MB / 1.209 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/0.938, allocations: 1.294 MB / 1.211 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-05/0.9382, allocations: 82.73 kB / 1.211 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005171/0.9387, allocations: 128 kB / 1.211 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006826/0.9455, allocations: 2.683 MB / 1.214 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.987e-05/0.9456, allocations: 7.938 kB / 1.214 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.9459, allocations: 55.98 kB / 1.214 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006795/0.9466, allocations: 174.1 kB / 1.214 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008072/0.9547, allocations: 2.799 MB / 1.216 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/0.9711, allocations: 10.47 MB / 1.227 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007305/0.9785, allocations: 2.531 MB / 1.229 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/0.9819, allocations: 1.28 MB / 1.23 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.9821, allocations: 13 kB / 1.23 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.9821, allocations: 43.56 kB / 1.23 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=89): time 3.577e-06/0.9821, allocations: 0 / 1.23 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.05079/1.033, allocations: 13.35 MB / 1.244 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/1.033, allocations: 76.7 kB / 1.244 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/1.035, allocations: 1.121 MB / 1.245 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002449/1.035, allocations: 45.7 kB / 1.245 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/1.036, allocations: 0.7156 MB / 1.245 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005563/1.036, allocations: 453.4 kB / 1.246 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005772/1.037, allocations: 263.4 kB / 1.246 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.037, allocations: 361.9 kB / 1.246 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/1.04, allocations: 1.339 MB / 1.248 GB, free: 56 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003535/1.044, allocations: 1.604 MB / 1.249 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007115/1.051, allocations: 2.991 MB / 1.252 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.051, allocations: 8 kB / 1.252 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01165/1.063, allocations: 4.439 MB / 1.257 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/1.063, allocations: 15.94 kB / 1.257 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.063, allocations: 4 kB / 1.257 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00659/1.069, allocations: 1.435 MB / 1.258 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/1.072, allocations: 439.3 kB / 1.258 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02904/1.101, allocations: 26.68 MB / 1.284 GB, free: 8.332 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/1.104, allocations: 303.5 kB / 1.285 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/1.104, allocations: 68.14 kB / 1.285 GB, free: 7.969 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001089/1.105, allocations: 443 kB / 1.285 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004554/1.105, allocations: 162.1 kB / 1.285 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.117, allocations: 4.449 MB / 1.29 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/1.117, allocations: 7.969 kB / 1.29 GB, free: 2.855 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.117, allocations: 0 / 1.29 GB, free: 2.855 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.119, allocations: 467 kB / 1.29 GB, free: 2.379 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004095/1.119, allocations: 20 kB / 1.29 GB, free: 2.359 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/1.121, allocations: 287.5 kB / 1.291 GB, free: 2.078 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000345/1.122, allocations: 153 kB / 1.291 GB, free: 1.926 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01448/1.136, allocations: 4.733 MB / 1.295 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01111/1.147, allocations: 4.567 MB / 1.3 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003518/1.151, allocations: 1.442 MB / 1.301 GB, free: 7.117 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001276/1.152, allocations: 0.7526 MB / 1.302 GB, free: 6.363 MB / 1.029 GB Notification: Performance of Backend: time 1.273e-06/1.152, allocations: 4 kB / 1.302 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.162, allocations: 4.298 MB / 1.306 GB, free: 1.887 MB / 1.029 GB Notification: Performance of SimCode: time 0.006684/1.169, allocations: 4.249 MB / 1.31 GB, free: 13.61 MB / 1.045 GB Notification: Performance of Templates: time 0.06775/1.237, allocations: 45.13 MB / 1.354 GB, free: 0.8789 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches