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.001474/0.001474, allocations: 104.3 kB / 16.41 MB, free: 6.457 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.001503/0.001504, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.791/2.791, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 63.91 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9321/0.9337, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.08237/1.016, allocations: 34.84 MB / 1.242 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03608/1.052, allocations: 11.49 MB / 1.254 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00591/1.058, allocations: 159.2 kB / 1.254 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01948/1.078, allocations: 4.262 MB / 1.258 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/1.089, allocations: 1.986 MB / 1.26 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01316/1.103, allocations: 2.411 MB / 1.262 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0189/1.122, allocations: 8.46 MB / 1.271 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0295/1.151, allocations: 11.12 MB / 1.281 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01072/1.162, allocations: 3.798 MB / 1.285 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01215/1.174, allocations: 4.183 MB / 1.289 GB, free: 10.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.003929/1.178, allocations: 0.7773 MB / 1.29 GB, free: 9.789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009518/1.188, allocations: 2.028 MB / 1.292 GB, free: 7.758 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.008645/1.196, allocations: 3.06 MB / 1.295 GB, free: 4.691 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0111/1.208, allocations: 3.393 MB / 1.298 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02574/1.233, allocations: 11.98 MB / 1.31 GB, free: 5.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/1.233, allocations: 0 / 1.31 GB, free: 5.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.194e-06/1.233, allocations: 0 / 1.31 GB, free: 5.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0004054/1.234, allocations: 0 / 1.31 GB, free: 5.27 MB / 1.029 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.02701/1.261, allocations: 5.806 MB / 1.316 GB, free: 15.39 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.944e-05/1.261, allocations: 12.03 kB / 1.316 GB, free: 15.38 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/1.274, allocations: 1.056 MB / 1.317 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/1.287, allocations: 3.45 MB / 1.32 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007504/1.288, allocations: 419.5 kB / 1.32 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003294/1.291, allocations: 0.5393 MB / 1.321 GB, free: 9.859 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03334/1.324, allocations: 9.083 MB / 1.33 GB, free: 468 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003457/1.325, allocations: 31.69 kB / 1.33 GB, free: 436 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002584/1.327, allocations: 236 kB / 1.33 GB, free: 200 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006802/1.328, allocations: 350.8 kB / 1.33 GB, free: 15.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02447/1.352, allocations: 6.83 MB / 1.337 GB, free: 9.012 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0673/1.42, allocations: 39.79 MB / 1.376 GB, free: 13.51 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/1.424, allocations: 3.107 MB / 1.379 GB, free: 10.26 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002913/1.427, allocations: 1.989 MB / 1.381 GB, free: 8.27 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/1.427, allocations: 22 kB / 1.381 GB, free: 8.25 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/1.427, allocations: 48.56 kB / 1.381 GB, free: 8.191 MB / 1.107 GB Notification: Performance of pre-optimization done (n=179): time 3.927e-06/1.427, allocations: 3.938 kB / 1.381 GB, free: 8.188 MB / 1.107 GB Notification: Performance of matching and sorting (n=182): time 0.02676/1.454, allocations: 9.989 MB / 1.391 GB, free: 14.1 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/1.454, allocations: 69.41 kB / 1.391 GB, free: 14.02 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/1.457, allocations: 1.526 MB / 1.392 GB, free: 12.45 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003048/1.457, allocations: 53.7 kB / 1.392 GB, free: 12.39 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.459, allocations: 2.257 MB / 1.395 GB, free: 10.11 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008258/1.46, allocations: 0.6277 MB / 1.395 GB, free: 9.469 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008371/1.461, allocations: 415.9 kB / 1.396 GB, free: 9.055 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.461, allocations: 305.1 kB / 1.396 GB, free: 8.754 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/1.463, allocations: 1.176 MB / 1.397 GB, free: 7.574 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/1.465, allocations: 1.893 MB / 1.399 GB, free: 5.359 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004668/1.47, allocations: 3.36 MB / 1.402 GB, free: 1.691 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-05/1.47, allocations: 11.94 kB / 1.402 GB, free: 1.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.009342/1.479, allocations: 4.585 MB / 1.407 GB, free: 13.07 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/1.479, allocations: 16 kB / 1.407 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/1.479, allocations: 20 kB / 1.407 GB, free: 13.03 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003923/1.483, allocations: 1.584 MB / 1.408 GB, free: 11.44 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.485, allocations: 355.3 kB / 1.409 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02564/1.51, allocations: 18.56 MB / 1.427 GB, free: 7.977 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/1.512, allocations: 119.9 kB / 1.427 GB, free: 7.859 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004305/1.513, allocations: 100 kB / 1.427 GB, free: 7.762 MB / 1.154 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.004056/1.517, allocations: 1.89 MB / 1.429 GB, free: 5.859 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/1.518, allocations: 221.4 kB / 1.429 GB, free: 5.641 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007821/1.525, allocations: 4.105 MB / 1.433 GB, free: 1.504 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/1.525, allocations: 16 kB / 1.433 GB, free: 1.488 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-05/1.526, allocations: 20.38 kB / 1.433 GB, free: 1.469 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/1.526, allocations: 7.969 kB / 1.433 GB, free: 1.461 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/1.544, allocations: 9.453 MB / 1.442 GB, free: 7.766 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.544, allocations: 8 kB / 1.442 GB, free: 7.758 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008972/1.545, allocations: 187.7 kB / 1.442 GB, free: 7.574 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003535/1.548, allocations: 1.35 MB / 1.444 GB, free: 6.215 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/1.549, allocations: 36 kB / 1.444 GB, free: 6.18 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02303/1.572, allocations: 17.36 MB / 1.461 GB, free: 4.258 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.572, allocations: 7.938 kB / 1.461 GB, free: 4.25 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00755/1.579, allocations: 4.07 MB / 1.465 GB, free: 84 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.58, allocations: 0.5333 MB / 1.465 GB, free: 15.53 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/1.581, allocations: 32 kB / 1.465 GB, free: 15.5 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009584/1.582, allocations: 87.89 kB / 1.465 GB, free: 15.41 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005056/1.582, allocations: 169.6 kB / 1.465 GB, free: 15.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.582, allocations: 48 kB / 1.466 GB, free: 15.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001417/1.584, allocations: 1.008 MB / 1.467 GB, free: 14.17 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.5e-07/1.584, allocations: 0 / 1.467 GB, free: 14.17 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003135/1.587, allocations: 0.9844 MB / 1.467 GB, free: 13.18 MB / 1.201 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.000324/1.587, allocations: 143.1 kB / 1.468 GB, free: 13.04 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007035/1.594, allocations: 4.311 MB / 1.472 GB, free: 8.672 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.594, allocations: 0 / 1.472 GB, free: 8.672 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004479/1.599, allocations: 2.666 MB / 1.474 GB, free: 5.957 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004519/1.603, allocations: 0.7834 MB / 1.475 GB, free: 5.203 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/1.622, allocations: 9.361 MB / 1.484 GB, free: 11.76 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004884/1.627, allocations: 3.666 MB / 1.488 GB, free: 8.062 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/1.628, allocations: 131.4 kB / 1.488 GB, free: 7.934 MB / 1.217 GB Notification: Performance of SimCode: time 1.253e-06/1.628, allocations: 0 / 1.488 GB, free: 7.934 MB / 1.217 GB Notification: Performance of Templates: time 0.891/2.519, allocations: 159.7 MB / 1.644 GB, free: 262.2 MB / 1.279 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/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