Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001607/0.001607, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.99/2.99, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004036, allocations: 12.34 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3671, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01708/0.3842, allocations: 13.34 MB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0174/0.4016, allocations: 9.61 MB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.4035, allocations: 51.62 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.4049, allocations: 285.7 kB / 1.081 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006016/0.4109, allocations: 1.458 MB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.4132, allocations: 0.5219 MB / 1.083 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005602/0.4188, allocations: 2.894 MB / 1.086 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004435/0.4233, allocations: 1.806 MB / 1.087 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/0.4265, allocations: 1.285 MB / 1.089 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/0.4291, allocations: 1.043 MB / 1.09 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006005/0.4297, allocations: 68 kB / 1.09 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.4316, allocations: 443.5 kB / 1.09 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000978/0.4326, allocations: 498.3 kB / 1.091 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009403/0.4335, allocations: 352.8 kB / 1.091 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.4368, allocations: 2.127 MB / 1.093 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4368, allocations: 0 / 1.093 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4368, allocations: 0 / 1.093 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.252e-05/0.4369, allocations: 0 / 1.093 GB, free: 1.453 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.003418/0.4403, allocations: 1.859 MB / 1.095 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4403, allocations: 8.031 kB / 1.095 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.4509, allocations: 2.178 MB / 1.097 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.4537, allocations: 1.155 MB / 1.098 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.4538, allocations: 98.19 kB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.4541, allocations: 115.9 kB / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005491/0.4596, allocations: 2.688 MB / 1.101 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.4596, allocations: 7.938 kB / 1.101 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/0.4598, allocations: 51.98 kB / 1.101 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005921/0.4604, allocations: 190.1 kB / 1.101 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007332/0.4677, allocations: 2.838 MB / 1.104 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/0.4839, allocations: 10.56 MB / 1.114 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006163/0.4901, allocations: 2.375 MB / 1.116 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/0.4931, allocations: 1.303 MB / 1.118 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.312e-05/0.4932, allocations: 16.98 kB / 1.118 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/0.4933, allocations: 59.38 kB / 1.118 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=89): time 3.517e-06/0.4933, allocations: 0 / 1.118 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of matching and sorting (n=153): time 0.0551/0.5484, allocations: 16.5 MB / 1.134 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.5485, allocations: 80.61 kB / 1.134 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.5504, allocations: 1.156 MB / 1.135 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.5506, allocations: 49.7 kB / 1.135 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006535/0.5513, allocations: 0.7436 MB / 1.136 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006105/0.5519, allocations: 0.5159 MB / 1.136 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.5521, allocations: 28 kB / 1.136 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5523, allocations: 369.8 kB / 1.137 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.5557, allocations: 1.53 MB / 1.138 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003696/0.5595, allocations: 1.788 MB / 1.14 GB, free: 4 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003555/0.563, allocations: 1.65 MB / 1.142 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.563, allocations: 4 kB / 1.142 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01259/0.5756, allocations: 5.289 MB / 1.147 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.5757, allocations: 12.16 kB / 1.147 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.5757, allocations: 8 kB / 1.147 GB, free: 9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006502/0.5822, allocations: 1.891 MB / 1.149 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.5842, allocations: 431.2 kB / 1.149 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03001/0.6142, allocations: 22.14 MB / 1.171 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/0.6168, allocations: 315.5 kB / 1.171 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003087/0.6171, allocations: 67.97 kB / 1.171 GB, free: 15.09 MB / 0.9356 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001115/0.6183, allocations: 458 kB / 1.172 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/0.6188, allocations: 177.9 kB / 1.172 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.6319, allocations: 5.34 MB / 1.177 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.6319, allocations: 20 kB / 1.177 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.216e-05/0.632, allocations: 20 kB / 1.177 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.632, allocations: 7.969 kB / 1.177 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/0.6496, allocations: 7.461 MB / 1.184 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.6497, allocations: 0 / 1.184 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.6512, allocations: 371.7 kB / 1.185 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005718/0.6569, allocations: 1.696 MB / 1.186 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/0.6572, allocations: 47.92 kB / 1.186 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02801/0.6852, allocations: 21.34 MB / 1.207 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.6852, allocations: 4 kB / 1.207 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/0.6972, allocations: 4.909 MB / 1.212 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.6986, allocations: 498.7 kB / 1.212 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005036/0.6991, allocations: 31.98 kB / 1.212 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/0.7012, allocations: 327.5 kB / 1.213 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000632/0.7019, allocations: 153 kB / 1.213 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/0.7021, allocations: 55.97 kB / 1.213 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00139/0.7035, allocations: 0.7782 MB / 1.214 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7035, allocations: 3.938 kB / 1.214 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002608/0.7061, allocations: 0.6562 MB / 1.214 GB, free: 1.414 MB / 0.9669 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000367/0.7065, allocations: 144.2 kB / 1.214 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0112/0.7177, allocations: 5.172 MB / 1.22 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-05/0.7177, allocations: 8 kB / 1.22 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.007133/0.7249, allocations: 3.37 MB / 1.223 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/0.7289, allocations: 0.5082 MB / 1.223 GB, free: 8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.7393, allocations: 4.867 MB / 1.228 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.7411, allocations: 1.572 MB / 1.23 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001937/0.7431, allocations: 386.4 kB / 1.23 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.7435, allocations: 107.4 kB / 1.23 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of SimCode: time 7.41e-07/0.7435, allocations: 0 / 1.23 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of Templates: time 0.69/1.433, allocations: 41.41 MB / 1.271 GB, free: 168.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches