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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007527/0.007527, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.001773/0.001773, allocations: 186.9 kB / 16.67 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 60.12 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3197, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.05373/0.3735, allocations: 34.84 MB / 1.242 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7341/1.108, allocations: 11.48 MB / 1.253 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/1.112, allocations: 163.3 kB / 1.253 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009926/1.122, allocations: 4.251 MB / 1.257 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006731/1.129, allocations: 1.988 MB / 1.259 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007163/1.136, allocations: 2.407 MB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01304/1.149, allocations: 8.465 MB / 1.27 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01866/1.168, allocations: 11.13 MB / 1.281 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00879/1.176, allocations: 3.801 MB / 1.284 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/1.186, allocations: 4.185 MB / 1.289 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004183/1.191, allocations: 0.7802 MB / 1.289 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008359/1.199, allocations: 2.027 MB / 1.291 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0072/1.206, allocations: 3.051 MB / 1.294 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01245/1.219, allocations: 3.405 MB / 1.298 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02721/1.246, allocations: 12.27 MB / 1.31 GB, free: 15.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/1.246, allocations: 1.531 kB / 1.31 GB, free: 15.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.374e-06/1.246, allocations: 0 / 1.31 GB, free: 15.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004792/1.247, allocations: 0 / 1.31 GB, free: 15.82 MB / 1.014 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.02364/1.27, allocations: 5.807 MB / 1.315 GB, free: 12.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.27, allocations: 9.531 kB / 1.315 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008128/1.278, allocations: 1.065 MB / 1.316 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/1.289, allocations: 3.452 MB / 1.32 GB, free: 9.324 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004377/1.29, allocations: 419.6 kB / 1.32 GB, free: 9.141 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003271/1.293, allocations: 0.5328 MB / 1.321 GB, free: 8.969 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03186/1.325, allocations: 9.078 MB / 1.329 GB, free: 3.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005014/1.325, allocations: 34.12 kB / 1.329 GB, free: 3.406 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004501/1.33, allocations: 243.3 kB / 1.33 GB, free: 3.234 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005993/1.331, allocations: 348.7 kB / 1.33 GB, free: 3.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01876/1.349, allocations: 6.827 MB / 1.337 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05595/1.405, allocations: 39.79 MB / 1.376 GB, free: 6.852 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/1.409, allocations: 3.114 MB / 1.379 GB, free: 3.602 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002531/1.412, allocations: 1.983 MB / 1.381 GB, free: 1.617 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-05/1.412, allocations: 18 kB / 1.381 GB, free: 1.602 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/1.412, allocations: 60.55 kB / 1.381 GB, free: 1.531 MB / 1.061 GB Notification: Performance of pre-optimization done (n=179): time 3.437e-06/1.412, allocations: 0 / 1.381 GB, free: 1.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=182): time 0.02541/1.437, allocations: 9.969 MB / 1.39 GB, free: 7.473 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.437, allocations: 73.39 kB / 1.39 GB, free: 7.391 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/1.439, allocations: 1.526 MB / 1.392 GB, free: 5.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/1.44, allocations: 53.7 kB / 1.392 GB, free: 5.762 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001703/1.441, allocations: 2.253 MB / 1.394 GB, free: 3.484 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006903/1.442, allocations: 0.6334 MB / 1.395 GB, free: 2.855 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006777/1.443, allocations: 407.9 kB / 1.395 GB, free: 2.449 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.443, allocations: 305.1 kB / 1.395 GB, free: 2.148 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/1.444, allocations: 1.179 MB / 1.397 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/1.447, allocations: 1.888 MB / 1.398 GB, free: 14.76 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/1.451, allocations: 3.372 MB / 1.402 GB, free: 11.09 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/1.451, allocations: 4 kB / 1.402 GB, free: 11.09 MB / 1.092 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007546/1.458, allocations: 4.585 MB / 1.406 GB, free: 6.477 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/1.458, allocations: 16 kB / 1.406 GB, free: 6.461 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/1.458, allocations: 24 kB / 1.406 GB, free: 6.438 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003643/1.462, allocations: 1.586 MB / 1.408 GB, free: 4.836 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/1.463, allocations: 349.4 kB / 1.408 GB, free: 4.496 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0231/1.486, allocations: 18.58 MB / 1.426 GB, free: 1.375 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/1.489, allocations: 119.9 kB / 1.426 GB, free: 1.258 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/1.489, allocations: 92 kB / 1.426 GB, free: 1.168 MB / 1.107 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.00373/1.493, allocations: 1.9 MB / 1.428 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005339/1.493, allocations: 225.3 kB / 1.429 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006727/1.5, allocations: 4.094 MB / 1.433 GB, free: 10.91 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/1.5, allocations: 20 kB / 1.433 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/1.5, allocations: 16 kB / 1.433 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/1.5, allocations: 7.969 kB / 1.433 GB, free: 10.87 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/1.517, allocations: 9.464 MB / 1.442 GB, free: 1.191 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.517, allocations: 8 kB / 1.442 GB, free: 1.184 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008305/1.518, allocations: 175.7 kB / 1.442 GB, free: 1.012 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003371/1.522, allocations: 1.359 MB / 1.443 GB, free: 15.64 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/1.522, allocations: 39.94 kB / 1.443 GB, free: 15.61 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02065/1.542, allocations: 17.36 MB / 1.46 GB, free: 13.7 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.542, allocations: 4 kB / 1.46 GB, free: 13.69 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006834/1.549, allocations: 4.066 MB / 1.464 GB, free: 9.527 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.551, allocations: 0.5296 MB / 1.465 GB, free: 8.977 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/1.551, allocations: 36 kB / 1.465 GB, free: 8.941 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009796/1.552, allocations: 83.89 kB / 1.465 GB, free: 8.859 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004613/1.552, allocations: 169.7 kB / 1.465 GB, free: 8.695 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.553, allocations: 48 kB / 1.465 GB, free: 8.648 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00133/1.554, allocations: 1.001 MB / 1.466 GB, free: 7.625 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.2e-07/1.554, allocations: 0 / 1.466 GB, free: 7.625 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003501/1.557, allocations: 0.9844 MB / 1.467 GB, free: 6.641 MB / 1.154 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.0003012/1.558, allocations: 151 kB / 1.467 GB, free: 6.484 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006759/1.565, allocations: 4.308 MB / 1.471 GB, free: 2.125 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.565, allocations: 0 / 1.471 GB, free: 2.125 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004279/1.569, allocations: 2.67 MB / 1.474 GB, free: 15.41 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/1.573, allocations: 0.7834 MB / 1.475 GB, free: 14.66 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/1.588, allocations: 8.591 MB / 1.483 GB, free: 6 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00428/1.592, allocations: 3.569 MB / 1.487 GB, free: 2.398 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001468/1.594, allocations: 467.9 kB / 1.487 GB, free: 1.938 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/1.594, allocations: 119.4 kB / 1.487 GB, free: 1.82 MB / 1.17 GB Notification: Performance of SimCode: time 5.11e-07/1.594, allocations: 0 / 1.487 GB, free: 1.82 MB / 1.17 GB Notification: Performance of Templates: time 0.07583/1.67, allocations: 45.27 MB / 1.531 GB, free: 5.109 MB / 1.217 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 -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/jenkins/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