Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001595/0.001596, allocations: 110.8 kB / 16.41 MB, free: 5.973 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.001815/0.001815, allocations: 187.1 kB / 17.35 MB, free: 5.586 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.06 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.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 0.9515 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8938/0.8951, allocations: 140.4 MB / 1.089 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01808/0.9132, allocations: 14.04 MB / 1.102 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.9297, allocations: 9.382 MB / 1.111 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.9318, allocations: 59.5 kB / 1.112 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004346/0.9362, allocations: 1.675 MB / 1.113 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005383/0.9416, allocations: 1.586 MB / 1.115 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.9439, allocations: 0.7561 MB / 1.115 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003771/0.9477, allocations: 2.526 MB / 1.118 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.9498, allocations: 1.407 MB / 1.119 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.9517, allocations: 1.074 MB / 1.12 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.9534, allocations: 1.146 MB / 1.121 GB, free: 320 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.9537, allocations: 164.3 kB / 1.122 GB, free: 320 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.9555, allocations: 0.7865 MB / 1.122 GB, free: 84 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006867/0.9562, allocations: 0.6199 MB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.9572, allocations: 0.9423 MB / 1.124 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003894/0.9611, allocations: 2.759 MB / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9612, allocations: 1.094 kB / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9612, allocations: 0 / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.569e-05/0.9612, allocations: 0 / 1.127 GB, free: 14.26 MB / 0.8887 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.004422/0.9656, allocations: 2.14 MB / 1.129 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9657, allocations: 8.5 kB / 1.129 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/0.9779, allocations: 2.086 MB / 1.131 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003613/0.9816, allocations: 1.294 MB / 1.132 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/0.9817, allocations: 94.09 kB / 1.132 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/0.982, allocations: 125.9 kB / 1.132 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007344/0.9893, allocations: 2.678 MB / 1.135 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.186e-05/0.9894, allocations: 7.859 kB / 1.135 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.9896, allocations: 54.48 kB / 1.135 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000845/0.9905, allocations: 179.6 kB / 1.135 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009705/1, allocations: 2.802 MB / 1.138 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01824/1.018, allocations: 10.46 MB / 1.148 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007152/1.026, allocations: 2.523 MB / 1.15 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003405/1.029, allocations: 1.283 MB / 1.152 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/1.029, allocations: 13.47 kB / 1.152 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/1.029, allocations: 47.41 kB / 1.152 GB, free: 160 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 2.976e-06/1.029, allocations: 4.719 kB / 1.152 GB, free: 156 kB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.05097/1.08, allocations: 13.36 MB / 1.165 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/1.08, allocations: 64.97 kB / 1.165 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/1.083, allocations: 1.125 MB / 1.166 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002757/1.083, allocations: 46.98 kB / 1.166 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006886/1.084, allocations: 0.7113 MB / 1.167 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006352/1.084, allocations: 454.3 kB / 1.167 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006526/1.085, allocations: 261.6 kB / 1.167 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.085, allocations: 364.5 kB / 1.168 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/1.089, allocations: 1.338 MB / 1.169 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003912/1.093, allocations: 1.603 MB / 1.171 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00737/1.1, allocations: 2.992 MB / 1.174 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/1.1, allocations: 2.156 kB / 1.174 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01247/1.113, allocations: 4.441 MB / 1.178 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/1.113, allocations: 18.89 kB / 1.178 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/1.113, allocations: 6.812 kB / 1.178 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005458/1.118, allocations: 1.434 MB / 1.179 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/1.12, allocations: 435.2 kB / 1.18 GB, free: 15.31 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02947/1.15, allocations: 26.68 MB / 1.206 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/1.153, allocations: 303.5 kB / 1.206 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003707/1.153, allocations: 59.97 kB / 1.206 GB, free: 2.441 MB / 0.9356 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.001328/1.155, allocations: 441.5 kB / 1.207 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/1.155, allocations: 162 kB / 1.207 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.168, allocations: 4.457 MB / 1.211 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.168, allocations: 7.969 kB / 1.211 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.168, allocations: 0 / 1.211 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/1.169, allocations: 463 kB / 1.212 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006192/1.17, allocations: 24 kB / 1.212 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002508/1.173, allocations: 291.5 kB / 1.212 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003534/1.173, allocations: 153 kB / 1.212 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01418/1.187, allocations: 4.73 MB / 1.217 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01143/1.199, allocations: 4.559 MB / 1.221 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003465/1.202, allocations: 1.442 MB / 1.222 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001478/1.204, allocations: 0.7487 MB / 1.223 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of Backend: time 2.043e-06/1.204, allocations: 0 / 1.223 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01068/1.214, allocations: 4.303 MB / 1.227 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of SimCode: time 0.007443/1.222, allocations: 4.248 MB / 1.232 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of Templates: time 0.07094/1.293, allocations: 45.13 MB / 1.276 GB, free: 11.37 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches