Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 202 kB / 16.79 MB, free: 6.828 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.884/2.884, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.47 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3216, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03369/0.3554, allocations: 30.5 MB / 1.083 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0204/0.3758, allocations: 13.55 MB / 1.096 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/0.3793, allocations: 131.2 kB / 1.096 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008436/0.3878, allocations: 2.967 MB / 1.099 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007962/0.3958, allocations: 2.469 MB / 1.101 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005162/0.401, allocations: 1.843 MB / 1.103 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01193/0.4129, allocations: 10.43 MB / 1.113 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01453/0.4275, allocations: 9.057 MB / 1.122 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005639/0.4332, allocations: 2.966 MB / 1.125 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005356/0.4385, allocations: 3.434 MB / 1.128 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001712/0.4403, allocations: 400 kB / 1.129 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00416/0.4445, allocations: 1.533 MB / 1.13 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003305/0.4478, allocations: 2.155 MB / 1.132 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005387/0.4532, allocations: 2.644 MB / 1.135 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009267/0.4625, allocations: 7.943 MB / 1.143 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4625, allocations: 0 / 1.143 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4625, allocations: 0 / 1.143 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003219/0.4629, allocations: 0 / 1.143 GB, free: 11.93 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01373/0.4766, allocations: 5.134 MB / 1.148 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4767, allocations: 11.97 kB / 1.148 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006829/0.4835, allocations: 1.006 MB / 1.149 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008292/0.4918, allocations: 2.888 MB / 1.151 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/0.4923, allocations: 316.8 kB / 1.152 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002128/0.4944, allocations: 424 kB / 1.152 GB, free: 2 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/0.5103, allocations: 6.795 MB / 1.159 GB, free: 10.91 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000211/0.5105, allocations: 23.77 kB / 1.159 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/0.5116, allocations: 184 kB / 1.159 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009767/0.5126, allocations: 376 kB / 1.159 GB, free: 10.34 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.5237, allocations: 5.118 MB / 1.164 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03846/0.5622, allocations: 30.73 MB / 1.194 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.5647, allocations: 1.381 MB / 1.196 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.5665, allocations: 1.351 MB / 1.197 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.5667, allocations: 13.31 kB / 1.197 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.5667, allocations: 55.75 kB / 1.197 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=130): time 3.416e-06/0.5667, allocations: 0 / 1.197 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=199): time 0.08445/0.6512, allocations: 23.07 MB / 1.22 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.6513, allocations: 69.41 kB / 1.22 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/0.6542, allocations: 2.055 MB / 1.222 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003377/0.6546, allocations: 61.7 kB / 1.222 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.6559, allocations: 2.018 MB / 1.224 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007116/0.6566, allocations: 0.6778 MB / 1.224 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000724/0.6574, allocations: 408.1 kB / 1.225 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.6575, allocations: 309.1 kB / 1.225 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.6595, allocations: 1.43 MB / 1.226 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/0.6619, allocations: 2.013 MB / 1.228 GB, free: 348 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004683/0.6666, allocations: 3.696 MB / 1.232 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.6666, allocations: 8 kB / 1.232 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01107/0.6777, allocations: 5.657 MB / 1.238 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.6778, allocations: 12 kB / 1.238 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.6778, allocations: 24 kB / 1.238 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006804/0.6846, allocations: 2.08 MB / 1.24 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.6862, allocations: 379.4 kB / 1.24 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5539/1.24, allocations: 35.49 MB / 1.275 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/1.243, allocations: 128 kB / 1.275 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/1.243, allocations: 92.11 kB / 1.275 GB, free: 152.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003065/1.246, allocations: 1.506 MB / 1.276 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007388/1.247, allocations: 283 kB / 1.277 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.259, allocations: 5.216 MB / 1.282 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/1.259, allocations: 20.23 kB / 1.282 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-05/1.259, allocations: 17.38 kB / 1.282 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.203e-05/1.259, allocations: 9.859 kB / 1.282 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01883/1.278, allocations: 9.675 MB / 1.291 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.278, allocations: 6.469 kB / 1.291 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008736/1.278, allocations: 221 kB / 1.291 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006093/1.285, allocations: 1.844 MB / 1.293 GB, free: 146 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003577/1.285, allocations: 42.25 kB / 1.293 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02865/1.314, allocations: 34.51 MB / 1.327 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.314, allocations: 11.78 kB / 1.327 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008311/1.322, allocations: 4.912 MB / 1.332 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.323, allocations: 0.6168 MB / 1.332 GB, free: 114.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/1.324, allocations: 39.22 kB / 1.332 GB, free: 114.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.325, allocations: 132.2 kB / 1.333 GB, free: 114.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006306/1.326, allocations: 188.9 kB / 1.333 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.326, allocations: 55.59 kB / 1.333 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001686/1.327, allocations: 1.377 MB / 1.334 GB, free: 113.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.327, allocations: 0 / 1.334 GB, free: 113.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003511/1.331, allocations: 1.047 MB / 1.335 GB, free: 113.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002922/1.331, allocations: 173.8 kB / 1.335 GB, free: 113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.342, allocations: 6.266 MB / 1.341 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.342, allocations: 2.438 kB / 1.341 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00775/1.35, allocations: 4.402 MB / 1.346 GB, free: 105 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004738/1.355, allocations: 0.9183 MB / 1.347 GB, free: 104.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/1.372, allocations: 10.62 MB / 1.357 GB, free: 93.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004926/1.377, allocations: 3.179 MB / 1.36 GB, free: 90.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000906/1.378, allocations: 163.4 kB / 1.36 GB, free: 90.04 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.378, allocations: 0 / 1.36 GB, free: 90.04 MB / 0.9981 GB Notification: Performance of Templates: time 0.9264/2.304, allocations: 464.6 MB / 1.814 GB, free: 397.1 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches