Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_L,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_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001548/0.001548, allocations: 195 kB / 16.14 MB, free: 6.648 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 69.62 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4148, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008629/0.4235, allocations: 6.173 MB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005924/0.4294, allocations: 3.188 MB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008169/0.4303, allocations: 27.81 kB / 1.077 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.4329, allocations: 0.8759 MB / 1.078 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.4346, allocations: 441.9 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.4362, allocations: 458.6 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001987/0.4382, allocations: 1.463 MB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.4394, allocations: 0.6289 MB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.4406, allocations: 382.3 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.4419, allocations: 0.4903 MB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.4421, allocations: 40 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.4438, allocations: 0.5808 MB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.4442, allocations: 279.2 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.4448, allocations: 382 kB / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.4463, allocations: 1.184 MB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.4463, allocations: 0 / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4463, allocations: 0 / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.4463, allocations: 0 / 1.084 GB, free: 10.27 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002056/0.4484, allocations: 1.071 MB / 1.085 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.4484, allocations: 8.031 kB / 1.085 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.4499, allocations: 215.7 kB / 1.085 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008037/0.4508, allocations: 0.5415 MB / 1.086 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.4508, allocations: 49.67 kB / 1.086 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4509, allocations: 64.3 kB / 1.086 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.4524, allocations: 1.03 MB / 1.087 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.4524, allocations: 11.84 kB / 1.087 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.4525, allocations: 28 kB / 1.087 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-05/0.4526, allocations: 73.27 kB / 1.087 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.4536, allocations: 0.6956 MB / 1.087 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005217/0.4589, allocations: 5.756 MB / 1.093 GB, free: 116 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/0.4597, allocations: 0.596 MB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007651/0.4605, allocations: 424.6 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.4606, allocations: 7.938 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.4606, allocations: 38.56 kB / 1.094 GB, free: 15 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=41): time 1.973e-06/0.4606, allocations: 0 / 1.094 GB, free: 15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42): time 0.004438/0.465, allocations: 2.049 MB / 1.096 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4651, allocations: 59.39 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.4656, allocations: 462.8 kB / 1.097 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.4657, allocations: 33.7 kB / 1.097 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.466, allocations: 391 kB / 1.097 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.4661, allocations: 153.9 kB / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.4663, allocations: 114.1 kB / 1.097 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4665, allocations: 362.8 kB / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.4669, allocations: 245.2 kB / 1.098 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.4674, allocations: 461 kB / 1.098 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.4683, allocations: 0.7558 MB / 1.099 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4683, allocations: 4 kB / 1.099 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00187/0.4702, allocations: 1.065 MB / 1.1 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.4702, allocations: 8.875 kB / 1.1 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4703, allocations: 4 kB / 1.1 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.4713, allocations: 335.1 kB / 1.1 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.4716, allocations: 87.89 kB / 1.1 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007084/0.4787, allocations: 6.958 MB / 1.107 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.4792, allocations: 28.02 kB / 1.107 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.4792, allocations: 32.19 kB / 1.107 GB, free: 0.543 MB / 0.8575 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003934/0.4796, allocations: 242.1 kB / 1.108 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.4797, allocations: 63.25 kB / 1.108 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.4815, allocations: 0.9198 MB / 1.108 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4815, allocations: 8 kB / 1.109 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4815, allocations: 4 kB / 1.109 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4815, allocations: 0 / 1.109 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.4843, allocations: 1.71 MB / 1.11 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.4843, allocations: 4 kB / 1.11 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.4845, allocations: 43.91 kB / 1.11 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009933/0.4855, allocations: 335.2 kB / 1.111 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.4855, allocations: 8 kB / 1.111 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006911/0.4924, allocations: 6.935 MB / 1.117 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4925, allocations: 4 kB / 1.117 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.4942, allocations: 1.007 MB / 1.118 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.4944, allocations: 180.3 kB / 1.118 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.4945, allocations: 8 kB / 1.118 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.4948, allocations: 27.97 kB / 1.119 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4949, allocations: 35.89 kB / 1.119 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.4949, allocations: 15.94 kB / 1.119 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003479/0.4953, allocations: 318.9 kB / 1.119 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4953, allocations: 0 / 1.119 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008482/0.4961, allocations: 192 kB / 1.119 GB, free: 3.785 MB / 0.8731 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001585/0.4963, allocations: 107.2 kB / 1.119 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001915/0.4982, allocations: 1.203 MB / 1.12 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.4982, allocations: 0 / 1.12 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.4995, allocations: 0.8696 MB / 1.121 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009734/0.5005, allocations: 186.8 kB / 1.121 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.5027, allocations: 1.536 MB / 1.123 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.5034, allocations: 0.9921 MB / 1.124 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003281/0.5037, allocations: 97.19 kB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.5038, allocations: 35.44 kB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of SimCode: time 6.71e-07/0.5038, allocations: 0 / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of Templates: time 0.01883/0.5226, allocations: 9.631 MB / 1.133 GB, free: 5.051 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches