Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007816/0.007816, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001228/0.001228, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.935/2.935, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 71.81 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3571, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008796/0.3659, allocations: 6.809 MB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005159/0.3711, allocations: 3.067 MB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.3716, allocations: 27.81 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.3739, allocations: 0.9474 MB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.3751, allocations: 0.5012 MB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3761, allocations: 445.5 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001182/0.3773, allocations: 1.236 MB / 1.22 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008524/0.3782, allocations: 0.6622 MB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005584/0.3787, allocations: 474.3 kB / 1.222 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006128/0.3794, allocations: 0.5253 MB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.139e-05/0.3795, allocations: 71.94 kB / 1.222 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000635/0.3801, allocations: 375.3 kB / 1.222 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.3804, allocations: 311.2 kB / 1.223 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.3808, allocations: 457.7 kB / 1.223 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.382, allocations: 1.207 MB / 1.224 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.382, allocations: 8 kB / 1.224 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.382, allocations: 0 / 1.224 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.382, allocations: 0 / 1.224 GB, free: 8.512 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001877/0.3839, allocations: 1.176 MB / 1.226 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.384, allocations: 12.62 kB / 1.226 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.3854, allocations: 239.6 kB / 1.226 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3864, allocations: 0.5921 MB / 1.226 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.3865, allocations: 53.67 kB / 1.226 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.3866, allocations: 68.3 kB / 1.226 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.388, allocations: 1.089 MB / 1.228 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.388, allocations: 3.938 kB / 1.228 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/0.3881, allocations: 35.98 kB / 1.228 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.3883, allocations: 85.25 kB / 1.228 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.3893, allocations: 0.7504 MB / 1.228 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/0.3945, allocations: 5.874 MB / 1.234 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009544/0.3954, allocations: 0.5516 MB / 1.235 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.3959, allocations: 326 kB / 1.235 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.3959, allocations: 8.438 kB / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3959, allocations: 42.94 kB / 1.235 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.396, allocations: 3.938 kB / 1.235 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.003685/0.3996, allocations: 1.982 MB / 1.237 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3997, allocations: 59.84 kB / 1.237 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/0.4004, allocations: 0.5548 MB / 1.238 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.4004, allocations: 37.7 kB / 1.238 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.4007, allocations: 422.9 kB / 1.238 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.4008, allocations: 173.6 kB / 1.238 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.401, allocations: 122.5 kB / 1.238 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4012, allocations: 378.7 kB / 1.239 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.4016, allocations: 273.8 kB / 1.239 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.4023, allocations: 497 kB / 1.239 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000991/0.4033, allocations: 0.8093 MB / 1.24 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4033, allocations: 4 kB / 1.24 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001648/0.4049, allocations: 1.087 MB / 1.241 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.405, allocations: 12.16 kB / 1.241 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.405, allocations: 8 kB / 1.241 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008021/0.4058, allocations: 283.1 kB / 1.242 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.4063, allocations: 123.8 kB / 1.242 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7149/1.121, allocations: 7.125 MB / 1.249 GB, free: 36.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008824/1.122, allocations: 39.92 kB / 1.249 GB, free: 36.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/1.122, allocations: 27.72 kB / 1.249 GB, free: 36.58 MB / 0.9981 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004776/1.123, allocations: 254 kB / 1.249 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/1.123, allocations: 75.41 kB / 1.249 GB, free: 36.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/1.125, allocations: 0.8847 MB / 1.25 GB, free: 36.39 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.125, allocations: 6.75 kB / 1.25 GB, free: 36.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/1.125, allocations: 6.812 kB / 1.25 GB, free: 36.39 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.125, allocations: 3.141 kB / 1.25 GB, free: 36.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/1.127, allocations: 1.729 MB / 1.252 GB, free: 36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.127, allocations: 1.312 kB / 1.252 GB, free: 36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/1.128, allocations: 63.95 kB / 1.252 GB, free: 36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006526/1.128, allocations: 268.7 kB / 1.252 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/1.128, allocations: 10.09 kB / 1.252 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/1.133, allocations: 7.135 MB / 1.259 GB, free: 30.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.726e-06/1.134, allocations: 6.688 kB / 1.259 GB, free: 30.58 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/1.135, allocations: 0.9811 MB / 1.26 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/1.135, allocations: 191.7 kB / 1.26 GB, free: 30.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/1.135, allocations: 10.12 kB / 1.26 GB, free: 30.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/1.136, allocations: 29.62 kB / 1.26 GB, free: 30.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.136, allocations: 54.33 kB / 1.26 GB, free: 30.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/1.136, allocations: 14.94 kB / 1.26 GB, free: 30.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004441/1.136, allocations: 393.1 kB / 1.26 GB, free: 30.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.403e-06/1.136, allocations: 0 / 1.26 GB, free: 30.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008263/1.137, allocations: 228.4 kB / 1.261 GB, free: 30.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001515/1.137, allocations: 116.8 kB / 1.261 GB, free: 30.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001816/1.139, allocations: 1.269 MB / 1.262 GB, free: 29.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.139, allocations: 2.938 kB / 1.262 GB, free: 29.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/1.14, allocations: 0.8904 MB / 1.263 GB, free: 29.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009968/1.141, allocations: 223 kB / 1.263 GB, free: 29.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/1.144, allocations: 1.329 MB / 1.264 GB, free: 28.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/1.144, allocations: 1.01 MB / 1.265 GB, free: 27.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004568/1.145, allocations: 123.7 kB / 1.266 GB, free: 27.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.145, allocations: 41.98 kB / 1.266 GB, free: 27.76 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.145, allocations: 0 / 1.266 GB, free: 27.76 MB / 0.9981 GB Notification: Performance of Templates: time 0.03179/1.177, allocations: 11.55 MB / 1.277 GB, free: 27.09 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches