Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001348/0.001348, allocations: 121 kB / 16.81 MB, free: 5.762 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.00127/0.00127, allocations: 195.1 kB / 17.77 MB, free: 5.125 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.439/1.439, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.839/2.839, allocations: 476.7 MB / 0.7556 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 68.59 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3602, allocations: 168.7 MB / 1.262 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01968/0.3799, allocations: 14.24 MB / 1.276 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01582/0.3957, allocations: 9.512 MB / 1.285 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.3978, allocations: 55.62 kB / 1.285 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004989/0.4028, allocations: 1.691 MB / 1.287 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005571/0.4083, allocations: 1.58 MB / 1.288 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.411, allocations: 0.7731 MB / 1.289 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004693/0.4157, allocations: 2.501 MB / 1.292 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.4177, allocations: 1.13 MB / 1.293 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.4199, allocations: 1.071 MB / 1.294 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.4224, allocations: 1.21 MB / 1.295 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003587/0.4227, allocations: 164 kB / 1.295 GB, free: 10.91 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.4247, allocations: 0.8071 MB / 1.296 GB, free: 10.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007523/0.4254, allocations: 0.6231 MB / 1.297 GB, free: 9.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.4268, allocations: 0.9485 MB / 1.297 GB, free: 8.527 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.4314, allocations: 2.767 MB / 1.3 GB, free: 5.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.4314, allocations: 0 / 1.3 GB, free: 5.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.005e-06/0.4314, allocations: 0 / 1.3 GB, free: 5.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.268e-05/0.4314, allocations: 0 / 1.3 GB, free: 5.75 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004968/0.4364, allocations: 2.195 MB / 1.302 GB, free: 3.496 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.764e-05/0.4365, allocations: 8.031 kB / 1.302 GB, free: 3.488 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.4484, allocations: 2.094 MB / 1.304 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/0.4518, allocations: 1.311 MB / 1.306 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.4519, allocations: 86.83 kB / 1.306 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/0.4523, allocations: 120.1 kB / 1.306 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006387/0.4586, allocations: 2.675 MB / 1.308 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/0.4587, allocations: 11.89 kB / 1.308 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.4589, allocations: 51.98 kB / 1.309 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006938/0.4596, allocations: 190.1 kB / 1.309 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008159/0.4677, allocations: 2.791 MB / 1.311 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01838/0.4861, allocations: 10.48 MB / 1.322 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007281/0.4934, allocations: 2.457 MB / 1.324 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/0.4968, allocations: 1.221 MB / 1.325 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.044e-05/0.4968, allocations: 9 kB / 1.325 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.4969, allocations: 43.56 kB / 1.325 GB, free: 11.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 3.637e-06/0.4969, allocations: 0 / 1.325 GB, free: 11.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.04985/0.5467, allocations: 13.34 MB / 1.338 GB, free: 13.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.5468, allocations: 64.72 kB / 1.338 GB, free: 13.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.5486, allocations: 1.121 MB / 1.34 GB, free: 12.31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002668/0.5488, allocations: 45.7 kB / 1.34 GB, free: 12.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006286/0.5495, allocations: 0.7209 MB / 1.34 GB, free: 11.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005892/0.55, allocations: 483.8 kB / 1.341 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005425/0.5506, allocations: 259.5 kB / 1.341 GB, free: 10.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.5508, allocations: 365.8 kB / 1.341 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/0.5544, allocations: 1.342 MB / 1.343 GB, free: 9.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003752/0.5581, allocations: 1.596 MB / 1.344 GB, free: 7.395 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007308/0.5654, allocations: 2.994 MB / 1.347 GB, free: 4.305 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.5654, allocations: 0 / 1.347 GB, free: 4.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01234/0.5778, allocations: 4.392 MB / 1.351 GB, free: 15.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.5778, allocations: 14.69 kB / 1.351 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.5778, allocations: 8 kB / 1.351 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005503/0.5833, allocations: 1.443 MB / 1.353 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.5856, allocations: 435.3 kB / 1.353 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03117/0.6168, allocations: 26.7 MB / 1.379 GB, free: 1.398 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/0.6196, allocations: 303.6 kB / 1.38 GB, free: 1.102 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/0.6199, allocations: 67.95 kB / 1.38 GB, free: 1.035 MB / 1.092 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.001036/0.6209, allocations: 439.5 kB / 1.38 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/0.6213, allocations: 171.2 kB / 1.38 GB, free: 440 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.6333, allocations: 4.402 MB / 1.385 GB, free: 11.97 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.9e-05/0.6333, allocations: 11.91 kB / 1.385 GB, free: 11.96 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.6333, allocations: 4 kB / 1.385 GB, free: 11.96 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.6346, allocations: 467.8 kB / 1.385 GB, free: 11.48 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/0.6349, allocations: 24 kB / 1.385 GB, free: 11.46 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/0.637, allocations: 291.5 kB / 1.385 GB, free: 11.17 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/0.6374, allocations: 149 kB / 1.385 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01426/0.6517, allocations: 4.722 MB / 1.39 GB, free: 6.254 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01162/0.6633, allocations: 4.584 MB / 1.395 GB, free: 1.652 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0037/0.667, allocations: 1.407 MB / 1.396 GB, free: 252 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001396/0.6684, allocations: 0.7565 MB / 1.397 GB, free: 15.48 MB / 1.123 GB Notification: Performance of Backend: time 5.61e-07/0.6684, allocations: 0 / 1.397 GB, free: 15.48 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01055/0.6789, allocations: 4.143 MB / 1.401 GB, free: 11.17 MB / 1.123 GB Notification: Performance of SimCode: time 0.008166/0.6871, allocations: 4.326 MB / 1.405 GB, free: 6.816 MB / 1.123 GB Notification: Performance of Templates: time 0.08535/0.7724, allocations: 46.09 MB / 1.45 GB, free: 9.125 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches