Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 103 kB / 16.27 MB, free: 6.414 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.001668/0.001668, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.33 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2732, allocations: 140.4 MB / 0.9503 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0235/0.2968, allocations: 20.25 MB / 0.9701 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.3079, allocations: 6.441 MB / 0.9764 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.31, allocations: 87.56 kB / 0.9764 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005885/0.316, allocations: 2.252 MB / 0.9786 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.3195, allocations: 1.181 MB / 0.9798 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003571/0.3231, allocations: 1.282 MB / 0.981 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005617/0.3287, allocations: 4.846 MB / 0.9858 GB, free: 4.367 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007602/0.3363, allocations: 5.63 MB / 0.9913 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0036/0.3399, allocations: 2.072 MB / 0.9933 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004551/0.3445, allocations: 2.34 MB / 0.9956 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001322/0.3459, allocations: 432 kB / 0.996 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.3487, allocations: 1.003 MB / 0.997 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002351/0.3511, allocations: 1.668 MB / 0.9986 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004033/0.3551, allocations: 1.91 MB / 1 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.008206/0.3634, allocations: 6.482 MB / 1.007 GB, free: 14.73 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3634, allocations: 0 / 1.007 GB, free: 14.73 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3634, allocations: 4 kB / 1.007 GB, free: 14.73 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002274/0.3636, allocations: 0 / 1.007 GB, free: 14.73 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008937/0.3726, allocations: 3.455 MB / 1.01 GB, free: 11.21 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3727, allocations: 12.03 kB / 1.01 GB, free: 11.2 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003516/0.3762, allocations: 0.6294 MB / 1.011 GB, free: 10.56 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/0.3798, allocations: 1.936 MB / 1.013 GB, free: 8.566 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.38, allocations: 222.3 kB / 1.013 GB, free: 8.348 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006079/0.3806, allocations: 296.3 kB / 1.013 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007964/0.3886, allocations: 4.886 MB / 1.018 GB, free: 2.969 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.563e-05/0.3887, allocations: 19.83 kB / 1.018 GB, free: 2.949 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.389, allocations: 131.9 kB / 1.018 GB, free: 2.82 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004237/0.3894, allocations: 229.7 kB / 1.018 GB, free: 2.594 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006472/0.3959, allocations: 3.762 MB / 1.022 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0224/0.4184, allocations: 21.55 MB / 1.043 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.4201, allocations: 1.308 MB / 1.044 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.4214, allocations: 1.057 MB / 1.045 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.4215, allocations: 13 kB / 1.045 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.4215, allocations: 51.55 kB / 1.045 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=107): time 4.388e-06/0.4216, allocations: 0 / 1.045 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=138): time 0.02339/0.4449, allocations: 8.645 MB / 1.054 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.445, allocations: 64.72 kB / 1.054 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.4464, allocations: 1.134 MB / 1.055 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.4466, allocations: 49.7 kB / 1.055 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007585/0.4473, allocations: 1.296 MB / 1.056 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.4477, allocations: 481.1 kB / 1.057 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004204/0.4481, allocations: 287.3 kB / 1.057 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4482, allocations: 317.1 kB / 1.057 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.4494, allocations: 0.9096 MB / 1.058 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.4509, allocations: 1.33 MB / 1.06 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/0.4537, allocations: 2.422 MB / 1.062 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4537, allocations: 11.94 kB / 1.062 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005733/0.4595, allocations: 3.468 MB / 1.065 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.4595, allocations: 8 kB / 1.065 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.4595, allocations: 12 kB / 1.065 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/0.4627, allocations: 1.195 MB / 1.067 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/0.4638, allocations: 259.6 kB / 1.067 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/0.4811, allocations: 13.84 MB / 1.08 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.4825, allocations: 88.34 kB / 1.08 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.4827, allocations: 64 kB / 1.08 GB, free: 72 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.433/0.9157, allocations: 1.113 MB / 1.082 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004517/0.9162, allocations: 160.7 kB / 1.082 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006263/0.9225, allocations: 3.169 MB / 1.085 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/0.9225, allocations: 17.75 kB / 1.085 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/0.9226, allocations: 12.89 kB / 1.085 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.9226, allocations: 7.312 kB / 1.085 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.9349, allocations: 6.253 MB / 1.091 GB, free: 120 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.9349, allocations: 6.438 kB / 1.091 GB, free: 120 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.9355, allocations: 146 kB / 1.091 GB, free: 119.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003015/0.9386, allocations: 1.08 MB / 1.092 GB, free: 119.7 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.9387, allocations: 26.25 kB / 1.092 GB, free: 119.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01643/0.9551, allocations: 13.55 MB / 1.105 GB, free: 111.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.9551, allocations: 5.406 kB / 1.105 GB, free: 111.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005691/0.9608, allocations: 3.15 MB / 1.108 GB, free: 110.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009397/0.9618, allocations: 427.2 kB / 1.109 GB, free: 110 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.962, allocations: 27.94 kB / 1.109 GB, free: 110 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008602/0.9629, allocations: 87.62 kB / 1.109 GB, free: 109.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004862/0.9634, allocations: 120.9 kB / 1.109 GB, free: 109.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.008e-05/0.9635, allocations: 37.28 kB / 1.109 GB, free: 109.9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001169/0.9647, allocations: 0.7669 MB / 1.11 GB, free: 109.6 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9647, allocations: 1.219 kB / 1.11 GB, free: 109.6 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002265/0.967, allocations: 0.6612 MB / 1.11 GB, free: 109.5 MB / 0.8575 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002395/0.9672, allocations: 139.6 kB / 1.111 GB, free: 109.4 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005898/0.9731, allocations: 3.636 MB / 1.114 GB, free: 108 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.9731, allocations: 5.25 kB / 1.114 GB, free: 108 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/0.9762, allocations: 1.949 MB / 1.116 GB, free: 107 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.9786, allocations: 0.4981 MB / 1.117 GB, free: 106.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009663/0.9883, allocations: 5.875 MB / 1.122 GB, free: 104.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/0.9908, allocations: 2.39 MB / 1.125 GB, free: 103.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.9912, allocations: 94 kB / 1.125 GB, free: 103.1 MB / 0.8575 GB Notification: Performance of SimCode: time 7.51e-07/0.9912, allocations: 0 / 1.125 GB, free: 103.1 MB / 0.8575 GB Notification: Performance of Templates: time 0.07308/1.064, allocations: 79.44 MB / 1.202 GB, free: 33.6 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches