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.001/0.001, allocations: 98.8 kB / 16.02 MB, free: 76 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.001224/0.001225, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.866/2.866, allocations: 462.6 MB / 0.737 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 10.12 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3434, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01626/0.3597, allocations: 14.14 MB / 1.073 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.3748, allocations: 10.23 MB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.3766, allocations: 51.62 kB / 1.083 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.378, allocations: 290 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.3836, allocations: 1.604 MB / 1.085 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.3858, allocations: 0.6957 MB / 1.086 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004742/0.3905, allocations: 3.398 MB / 1.089 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00391/0.3945, allocations: 1.984 MB / 1.091 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.3968, allocations: 1.328 MB / 1.092 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.3989, allocations: 1.085 MB / 1.093 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004147/0.3993, allocations: 72 kB / 1.093 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.4013, allocations: 0.8577 MB / 1.094 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007777/0.402, allocations: 0.4982 MB / 1.095 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.4036, allocations: 0.8525 MB / 1.096 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.4064, allocations: 2.15 MB / 1.098 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4064, allocations: 0 / 1.098 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.175e-06/0.4065, allocations: 0 / 1.098 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.54e-05/0.4066, allocations: 0 / 1.098 GB, free: 13.59 MB / 0.8575 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.004285/0.4108, allocations: 1.839 MB / 1.099 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4109, allocations: 8.031 kB / 1.099 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/0.4236, allocations: 2.179 MB / 1.102 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00329/0.4269, allocations: 1.21 MB / 1.103 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.4271, allocations: 86.69 kB / 1.103 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005835/0.4277, allocations: 124 kB / 1.103 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006668/0.4343, allocations: 2.694 MB / 1.106 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.4344, allocations: 7.938 kB / 1.106 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.4346, allocations: 55.98 kB / 1.106 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006828/0.4353, allocations: 190.1 kB / 1.106 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008095/0.4434, allocations: 2.846 MB / 1.109 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/0.4593, allocations: 10.55 MB / 1.119 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00731/0.4667, allocations: 2.387 MB / 1.121 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003956/0.4707, allocations: 1.295 MB / 1.123 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.956e-05/0.4708, allocations: 16.98 kB / 1.123 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.4709, allocations: 43.56 kB / 1.123 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=89): time 3.226e-06/0.4709, allocations: 0 / 1.123 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of matching and sorting (n=153): time 0.06385/0.5347, allocations: 16.54 MB / 1.139 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.5348, allocations: 68.72 kB / 1.139 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.5368, allocations: 1.172 MB / 1.14 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003118/0.5371, allocations: 57.64 kB / 1.14 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006741/0.5378, allocations: 0.7398 MB / 1.141 GB, free: 404 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/0.5385, allocations: 0.5238 MB / 1.141 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.5387, allocations: 121.6 kB / 1.141 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5389, allocations: 305.1 kB / 1.142 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004005/0.5429, allocations: 1.53 MB / 1.143 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00454/0.5474, allocations: 1.803 MB / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008188/0.5556, allocations: 3.404 MB / 1.148 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.5557, allocations: 4 kB / 1.148 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01495/0.5706, allocations: 5.319 MB / 1.153 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.5707, allocations: 10.03 kB / 1.153 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5707, allocations: 4 kB / 1.153 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007413/0.5781, allocations: 1.888 MB / 1.155 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.5804, allocations: 427.2 kB / 1.156 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03029/0.6107, allocations: 22.2 MB / 1.177 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/0.6138, allocations: 327.5 kB / 1.178 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.6141, allocations: 67.91 kB / 1.178 GB, free: 9.156 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001033/0.6152, allocations: 465.5 kB / 1.178 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/0.6156, allocations: 177.8 kB / 1.178 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/0.6303, allocations: 5.359 MB / 1.184 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.6304, allocations: 19.94 kB / 1.184 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-05/0.6304, allocations: 20 kB / 1.184 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/0.6305, allocations: 7.969 kB / 1.184 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/0.6483, allocations: 7.477 MB / 1.191 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.6483, allocations: 0 / 1.191 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/0.6501, allocations: 363.4 kB / 1.191 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006384/0.6565, allocations: 1.706 MB / 1.193 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/0.6568, allocations: 51.89 kB / 1.193 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02728/0.6841, allocations: 21.36 MB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.6841, allocations: 7.938 kB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/0.6974, allocations: 4.932 MB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.6986, allocations: 0.491 MB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.6989, allocations: 28 kB / 1.219 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/0.7011, allocations: 327.4 kB / 1.219 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000515/0.7016, allocations: 156.9 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.7018, allocations: 51.97 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001096/0.7029, allocations: 0.7899 MB / 1.22 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7029, allocations: 0 / 1.22 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002322/0.7052, allocations: 0.6641 MB / 1.221 GB, free: 11.35 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000332/0.7055, allocations: 141.9 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01172/0.7173, allocations: 5.163 MB / 1.226 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.7173, allocations: 4 kB / 1.226 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.008005/0.7253, allocations: 3.366 MB / 1.23 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/0.7287, allocations: 0.5292 MB / 1.23 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.7417, allocations: 5.16 MB / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/0.7436, allocations: 1.572 MB / 1.237 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007723/0.7444, allocations: 119.3 kB / 1.237 GB, free: 11 MB / 0.9981 GB Notification: Performance of SimCode: time 1.432e-06/0.7444, allocations: 0 / 1.237 GB, free: 11 MB / 0.9981 GB Notification: Performance of Templates: time 0.5925/1.337, allocations: 85.48 MB / 1.32 GB, free: 131.5 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/jenkins1/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