Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001889/0.001889, allocations: 118.7 kB / 16.38 MB, free: 5.539 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.002368/0.002368, allocations: 188.7 kB / 17.31 MB, free: 5.184 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.628/2.628, allocations: 442.6 MB / 0.7166 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 71.77 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.339, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01798/0.357, allocations: 14.05 MB / 1.041 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.3715, allocations: 9.4 MB / 1.05 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.3733, allocations: 55.62 kB / 1.05 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004674/0.378, allocations: 1.676 MB / 1.051 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.3837, allocations: 1.534 MB / 1.053 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.386, allocations: 0.7636 MB / 1.054 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004144/0.3902, allocations: 2.509 MB / 1.056 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.3924, allocations: 1.411 MB / 1.057 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.3944, allocations: 1.043 MB / 1.058 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.3965, allocations: 1.148 MB / 1.06 GB, free: 368 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005217/0.397, allocations: 168 kB / 1.06 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.399, allocations: 0.7877 MB / 1.061 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008915/0.3999, allocations: 0.6154 MB / 1.061 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.4015, allocations: 0.9368 MB / 1.062 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004492/0.406, allocations: 2.753 MB / 1.065 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4061, allocations: 4 kB / 1.065 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4061, allocations: 4 kB / 1.065 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.048e-05/0.4061, allocations: 0 / 1.065 GB, free: 11.08 MB / 0.8419 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.004162/0.4103, allocations: 2.135 MB / 1.067 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4104, allocations: 8.031 kB / 1.067 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.4219, allocations: 2.093 MB / 1.069 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.425, allocations: 1.29 MB / 1.07 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.4251, allocations: 90.73 kB / 1.07 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/0.4255, allocations: 124 kB / 1.07 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006116/0.4316, allocations: 2.682 MB / 1.073 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/0.4317, allocations: 7.938 kB / 1.073 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.4319, allocations: 55.98 kB / 1.073 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006451/0.4326, allocations: 178.1 kB / 1.073 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5677/1, allocations: 2.792 MB / 1.076 GB, free: 52.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/1.015, allocations: 10.46 MB / 1.086 GB, free: 45.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007028/1.022, allocations: 2.531 MB / 1.089 GB, free: 45.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/1.025, allocations: 1.288 MB / 1.09 GB, free: 44.76 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/1.025, allocations: 10.25 kB / 1.09 GB, free: 44.76 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.025, allocations: 40.11 kB / 1.09 GB, free: 44.71 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=89): time 3.336e-06/1.025, allocations: 2 kB / 1.09 GB, free: 44.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=131): time 0.04962/1.075, allocations: 13.36 MB / 1.103 GB, free: 41.09 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/1.075, allocations: 65.58 kB / 1.103 GB, free: 41.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/1.077, allocations: 1.115 MB / 1.104 GB, free: 40.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000248/1.077, allocations: 47.27 kB / 1.104 GB, free: 40.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/1.077, allocations: 0.7166 MB / 1.105 GB, free: 39.97 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/1.078, allocations: 452.8 kB / 1.105 GB, free: 39.63 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005072/1.078, allocations: 265.2 kB / 1.106 GB, free: 39.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.399e-05/1.078, allocations: 356.3 kB / 1.106 GB, free: 39.19 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003338/1.082, allocations: 1.337 MB / 1.107 GB, free: 38.81 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003425/1.085, allocations: 1.61 MB / 1.109 GB, free: 38.13 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00661/1.092, allocations: 2.996 MB / 1.112 GB, free: 36.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/1.092, allocations: 2.531 kB / 1.112 GB, free: 36.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01097/1.103, allocations: 4.441 MB / 1.116 GB, free: 34.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.103, allocations: 7.469 kB / 1.116 GB, free: 34.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/1.103, allocations: 8.25 kB / 1.116 GB, free: 34.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004829/1.108, allocations: 1.432 MB / 1.117 GB, free: 34.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/1.11, allocations: 436.4 kB / 1.118 GB, free: 34.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02506/1.135, allocations: 26.69 MB / 1.144 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/1.138, allocations: 299 kB / 1.144 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/1.138, allocations: 70.17 kB / 1.144 GB, free: 9.898 MB / 0.8419 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.0008513/1.139, allocations: 433.7 kB / 1.145 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/1.139, allocations: 163.2 kB / 1.145 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/1.15, allocations: 4.452 MB / 1.149 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/1.15, allocations: 16.91 kB / 1.149 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.15, allocations: 0 / 1.149 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.151, allocations: 466.5 kB / 1.15 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/1.152, allocations: 21.19 kB / 1.15 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/1.154, allocations: 288.4 kB / 1.15 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/1.154, allocations: 154.3 kB / 1.15 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01242/1.166, allocations: 4.715 MB / 1.155 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009455/1.176, allocations: 4.574 MB / 1.159 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003115/1.179, allocations: 1.442 MB / 1.161 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001174/1.18, allocations: 0.7487 MB / 1.161 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of Backend: time 5.51e-07/1.18, allocations: 4 kB / 1.161 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.009597/1.19, allocations: 4.297 MB / 1.165 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of SimCode: time 0.006713/1.197, allocations: 4.247 MB / 1.17 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of Templates: time 0.07021/1.267, allocations: 44.74 MB / 1.213 GB, free: 9.586 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches