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.001191/0.001191, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001146/0.001146, allocations: 191 kB / 16.91 MB, free: 6.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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.537/2.537, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 69.67 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3093, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01709/0.3264, allocations: 13.97 MB / 1.078 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.4552/0.7817, allocations: 9.302 MB / 1.087 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.7828, allocations: 50.34 kB / 1.087 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003452/0.7863, allocations: 1.569 MB / 1.088 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.7905, allocations: 1.4 MB / 1.09 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.7924, allocations: 0.6966 MB / 1.09 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003307/0.7957, allocations: 2.526 MB / 1.093 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.7977, allocations: 1.577 MB / 1.095 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.7997, allocations: 1.065 MB / 1.096 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.8014, allocations: 1.178 MB / 1.097 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.8016, allocations: 163.5 kB / 1.097 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.8033, allocations: 0.7902 MB / 1.098 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006068/0.8039, allocations: 0.6225 MB / 1.098 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009258/0.8048, allocations: 0.9455 MB / 1.099 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.8076, allocations: 2.199 MB / 1.101 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8076, allocations: 0.7969 kB / 1.101 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.524e-06/0.8076, allocations: 1.375 kB / 1.101 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.041e-05/0.8076, allocations: 0 / 1.101 GB, free: 6.762 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.004032/0.8117, allocations: 2.132 MB / 1.103 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8117, allocations: 9.922 kB / 1.103 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.8231, allocations: 2.09 MB / 1.105 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/0.8261, allocations: 1.2 MB / 1.107 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.8262, allocations: 89.2 kB / 1.107 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.8265, allocations: 122.2 kB / 1.107 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005991/0.8325, allocations: 2.681 MB / 1.109 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.159e-05/0.8326, allocations: 4.25 kB / 1.109 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.8328, allocations: 54.92 kB / 1.109 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006246/0.8334, allocations: 184.7 kB / 1.11 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008289/0.8417, allocations: 2.797 MB / 1.112 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01781/0.8596, allocations: 10.49 MB / 1.123 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006784/0.8664, allocations: 2.525 MB / 1.125 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/0.8695, allocations: 1.29 MB / 1.126 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.376e-05/0.8696, allocations: 14.05 kB / 1.126 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.8697, allocations: 47.94 kB / 1.126 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=89): time 3.196e-06/0.8697, allocations: 0 / 1.126 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=131): time 0.04357/0.9133, allocations: 13.34 MB / 1.139 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.9134, allocations: 66.41 kB / 1.14 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.915, allocations: 1.12 MB / 1.141 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/0.9152, allocations: 52.05 kB / 1.141 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000577/0.9158, allocations: 0.711 MB / 1.141 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000524/0.9164, allocations: 449.3 kB / 1.142 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005339/0.9169, allocations: 270.7 kB / 1.142 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.9171, allocations: 360.9 kB / 1.142 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00365/0.9207, allocations: 1.338 MB / 1.144 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004115/0.9249, allocations: 1.603 MB / 1.145 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007642/0.9325, allocations: 2.995 MB / 1.148 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.9326, allocations: 2.406 kB / 1.148 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01179/0.9444, allocations: 4.442 MB / 1.153 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.9444, allocations: 10.81 kB / 1.153 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.9445, allocations: 12.19 kB / 1.153 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00508/0.9495, allocations: 1.437 MB / 1.154 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.9516, allocations: 436.2 kB / 1.154 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02853/0.9802, allocations: 26.69 MB / 1.18 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.9831, allocations: 299.5 kB / 1.181 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.9833, allocations: 70.14 kB / 1.181 GB, free: 15.81 MB / 0.9044 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.0009703/0.9842, allocations: 443.1 kB / 1.181 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.9846, allocations: 162.1 kB / 1.181 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.9962, allocations: 4.457 MB / 1.186 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.9963, allocations: 12 kB / 1.186 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.666e-05/0.9963, allocations: 16 kB / 1.186 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.9963, allocations: 11.97 kB / 1.186 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/1.012, allocations: 6.782 MB / 1.192 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/1.012, allocations: 0 / 1.192 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.014, allocations: 379.4 kB / 1.193 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00472/1.018, allocations: 1.319 MB / 1.194 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/1.019, allocations: 39.97 kB / 1.194 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02681/1.045, allocations: 25.52 MB / 1.219 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.046, allocations: 4 kB / 1.219 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/1.057, allocations: 4.204 MB / 1.223 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.058, allocations: 454.9 kB / 1.224 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/1.058, allocations: 27.98 kB / 1.224 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/1.06, allocations: 303.5 kB / 1.224 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004605/1.06, allocations: 128.7 kB / 1.224 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.061, allocations: 47.97 kB / 1.224 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00106/1.062, allocations: 0.7487 MB / 1.225 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/1.062, allocations: 0 / 1.225 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002097/1.064, allocations: 0.5742 MB / 1.225 GB, free: 4 kB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (67): * Single equations (assignments): 54 * 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 {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003323/1.064, allocations: 143 kB / 1.225 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01203/1.076, allocations: 5.521 MB / 1.231 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.076, allocations: 0 / 1.231 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.007042/1.083, allocations: 3.484 MB / 1.234 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/1.086, allocations: 0.5451 MB / 1.235 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00927/1.095, allocations: 4.774 MB / 1.239 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/1.097, allocations: 1.477 MB / 1.241 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006797/1.097, allocations: 135.3 kB / 1.241 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of SimCode: time 9.92e-07/1.097, allocations: 0 / 1.241 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of Templates: time 0.1195/1.217, allocations: 112.5 MB / 1.351 GB, free: 15.05 MB / 1.076 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