Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 112.6 kB / 16.37 MB, free: 6 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.001751/0.001752, allocations: 196 kB / 17.31 MB, free: 5.613 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.659/1.659, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.7 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3848, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03935/0.4242, allocations: 34.85 MB / 1.061 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0187/0.4429, allocations: 11.5 MB / 1.072 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003804/0.4468, allocations: 159.2 kB / 1.072 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.6008/1.048, allocations: 4.25 MB / 1.076 GB, free: 20.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009462/1.057, allocations: 1.989 MB / 1.078 GB, free: 20.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008552/1.066, allocations: 2.403 MB / 1.081 GB, free: 20.11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02126/1.087, allocations: 8.462 MB / 1.089 GB, free: 20.1 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02107/1.108, allocations: 11.12 MB / 1.1 GB, free: 18.05 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01092/1.119, allocations: 3.75 MB / 1.103 GB, free: 16.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009963/1.129, allocations: 4.184 MB / 1.107 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003933/1.133, allocations: 0.779 MB / 1.108 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00889/1.142, allocations: 2.027 MB / 1.11 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00826/1.15, allocations: 3.055 MB / 1.113 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01233/1.163, allocations: 3.396 MB / 1.116 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02614/1.189, allocations: 11.98 MB / 1.128 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/1.189, allocations: 3.984 kB / 1.128 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.498e-06/1.189, allocations: 1.094 kB / 1.128 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000718/1.19, allocations: 4 kB / 1.128 GB, free: 7.184 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02982/1.22, allocations: 5.8 MB / 1.134 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/1.22, allocations: 14.14 kB / 1.134 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/1.23, allocations: 1.061 MB / 1.135 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/1.242, allocations: 3.457 MB / 1.138 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006429/1.243, allocations: 414.6 kB / 1.139 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003534/1.247, allocations: 0.5342 MB / 1.139 GB, free: 376 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03122/1.278, allocations: 9.077 MB / 1.148 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004659/1.278, allocations: 34.08 kB / 1.148 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00343/1.282, allocations: 241.9 kB / 1.148 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005688/1.282, allocations: 345.9 kB / 1.149 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02119/1.304, allocations: 6.824 MB / 1.155 GB, free: 5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0602/1.364, allocations: 39.8 MB / 1.194 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004437/1.368, allocations: 3.102 MB / 1.197 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002946/1.371, allocations: 1.966 MB / 1.199 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/1.372, allocations: 18 kB / 1.199 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/1.372, allocations: 56.56 kB / 1.199 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=179): time 6.622e-06/1.372, allocations: 0 / 1.199 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of matching and sorting (n=182): time 0.02705/1.399, allocations: 9.985 MB / 1.209 GB, free: 10.33 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.399, allocations: 69.41 kB / 1.209 GB, free: 10.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/1.402, allocations: 1.522 MB / 1.211 GB, free: 8.688 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002173/1.402, allocations: 53.7 kB / 1.211 GB, free: 8.629 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001739/1.404, allocations: 2.26 MB / 1.213 GB, free: 6.344 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008297/1.405, allocations: 0.6309 MB / 1.213 GB, free: 5.719 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000778/1.405, allocations: 407.9 kB / 1.214 GB, free: 5.312 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.406, allocations: 305.1 kB / 1.214 GB, free: 5.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/1.407, allocations: 1.176 MB / 1.215 GB, free: 3.832 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/1.41, allocations: 1.891 MB / 1.217 GB, free: 1.621 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004427/1.414, allocations: 3.362 MB / 1.22 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.323e-05/1.414, allocations: 11.38 kB / 1.22 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008244/1.422, allocations: 4.585 MB / 1.225 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/1.422, allocations: 16 kB / 1.225 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.972e-05/1.423, allocations: 24 kB / 1.225 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00377/1.426, allocations: 1.575 MB / 1.226 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/1.428, allocations: 355.3 kB / 1.227 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02375/1.451, allocations: 18.6 MB / 1.245 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/1.454, allocations: 119.9 kB / 1.245 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/1.454, allocations: 96 kB / 1.245 GB, free: 4.031 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004302/1.458, allocations: 1.894 MB / 1.247 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005984/1.459, allocations: 229.4 kB / 1.247 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007027/1.466, allocations: 4.09 MB / 1.251 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/1.466, allocations: 20 kB / 1.251 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/1.466, allocations: 16 kB / 1.251 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/1.466, allocations: 8.344 kB / 1.251 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/1.483, allocations: 9.454 MB / 1.26 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/1.483, allocations: 8 kB / 1.26 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/1.484, allocations: 187.7 kB / 1.261 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003365/1.488, allocations: 1.354 MB / 1.262 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/1.488, allocations: 40 kB / 1.262 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/1.509, allocations: 17.35 MB / 1.279 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.509, allocations: 7.938 kB / 1.279 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007288/1.516, allocations: 4.064 MB / 1.283 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/1.518, allocations: 0.5256 MB / 1.283 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/1.519, allocations: 39.98 kB / 1.283 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.52, allocations: 87.89 kB / 1.284 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006099/1.52, allocations: 165.6 kB / 1.284 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.52, allocations: 48 kB / 1.284 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001577/1.522, allocations: 0.9968 MB / 1.285 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.522, allocations: 4 kB / 1.285 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003929/1.526, allocations: 0.9844 MB / 1.286 GB, free: 9.512 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003375/1.526, allocations: 155 kB / 1.286 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007026/1.533, allocations: 4.307 MB / 1.29 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.533, allocations: 0 / 1.29 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004251/1.538, allocations: 2.662 MB / 1.293 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/1.541, allocations: 0.7848 MB / 1.293 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.56, allocations: 8.591 MB / 1.302 GB, free: 8.875 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005869/1.566, allocations: 3.573 MB / 1.305 GB, free: 5.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001801/1.568, allocations: 463.9 kB / 1.306 GB, free: 4.812 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/1.568, allocations: 119.4 kB / 1.306 GB, free: 4.695 MB / 1.014 GB Notification: Performance of SimCode: time 1.352e-06/1.568, allocations: 0 / 1.306 GB, free: 4.695 MB / 1.014 GB Notification: Performance of Templates: time 0.08797/1.656, allocations: 43.9 MB / 1.349 GB, free: 9.352 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches