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.001252/0.001251, allocations: 108.6 kB / 15.73 MB, free: 84 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.001992/0.001992, allocations: 200.1 kB / 16.66 MB, free: 6.57 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.491/1.491, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.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.544/2.544, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.17 kB / 0.9508 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3449, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02265/0.3676, allocations: 20.25 MB / 1.108 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.3796, allocations: 6.449 MB / 1.114 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/0.3823, allocations: 91.56 kB / 1.114 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005753/0.3881, allocations: 2.239 MB / 1.116 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.3927, allocations: 1.185 MB / 1.117 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.3967, allocations: 1.282 MB / 1.119 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006394/0.4031, allocations: 4.85 MB / 1.123 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006562/0.4097, allocations: 5.599 MB / 1.129 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003993/0.4137, allocations: 2.119 MB / 1.131 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004053/0.4177, allocations: 2.336 MB / 1.133 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009215/0.4187, allocations: 432 kB / 1.134 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.4211, allocations: 1.006 MB / 1.135 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.4228, allocations: 1.668 MB / 1.136 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002336/0.4252, allocations: 1.91 MB / 1.138 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006762/0.4319, allocations: 6.517 MB / 1.144 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.432, allocations: 0 / 1.144 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.944e-06/0.432, allocations: 0 / 1.144 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001697/0.4322, allocations: 0 / 1.144 GB, free: 7.352 MB / 0.9044 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.008482/0.4406, allocations: 3.463 MB / 1.148 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4407, allocations: 8.031 kB / 1.148 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/0.4441, allocations: 0.6371 MB / 1.148 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/0.4489, allocations: 2.049 MB / 1.15 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.4491, allocations: 226.3 kB / 1.151 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005597/0.4497, allocations: 296.2 kB / 1.151 GB, free: 0.5547 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.4601, allocations: 4.886 MB / 1.156 GB, free: 11.47 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.194e-05/0.4602, allocations: 15.94 kB / 1.156 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003499/0.4606, allocations: 124 kB / 1.156 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005195/0.4611, allocations: 229.7 kB / 1.156 GB, free: 11.11 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007183/0.4683, allocations: 3.746 MB / 1.16 GB, free: 7.352 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02339/0.4917, allocations: 21.41 MB / 1.181 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.4934, allocations: 1.308 MB / 1.182 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.4948, allocations: 1.054 MB / 1.183 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-05/0.4948, allocations: 13 kB / 1.183 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.4949, allocations: 43.56 kB / 1.183 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=107): time 4.218e-06/0.4949, allocations: 0 / 1.183 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=138): time 0.02341/0.5183, allocations: 8.66 MB / 1.192 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.5184, allocations: 68.66 kB / 1.192 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.5199, allocations: 1.13 MB / 1.193 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.52, allocations: 49.7 kB / 1.193 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008329/0.5208, allocations: 1.296 MB / 1.194 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.5213, allocations: 481.1 kB / 1.194 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/0.5217, allocations: 287.4 kB / 1.195 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5218, allocations: 313 kB / 1.195 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.523, allocations: 0.9135 MB / 1.196 GB, free: 224 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.5245, allocations: 1.319 MB / 1.197 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/0.5275, allocations: 2.43 MB / 1.2 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.5275, allocations: 4 kB / 1.2 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005916/0.5334, allocations: 3.471 MB / 1.203 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.5335, allocations: 8 kB / 1.203 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.5335, allocations: 12 kB / 1.203 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003072/0.5366, allocations: 1.182 MB / 1.204 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000927/0.5375, allocations: 263.5 kB / 1.204 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/0.5542, allocations: 13.83 MB / 1.218 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.5559, allocations: 87.97 kB / 1.218 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.556, allocations: 67.98 kB / 1.218 GB, free: 8.762 MB / 0.9825 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.002043/0.5581, allocations: 1.11 MB / 1.219 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/0.5585, allocations: 170 kB / 1.219 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005497/0.564, allocations: 3.177 MB / 1.222 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.564, allocations: 12 kB / 1.222 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.564, allocations: 16.31 kB / 1.222 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.564, allocations: 7.969 kB / 1.222 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.5743, allocations: 6.241 MB / 1.229 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.5743, allocations: 8 kB / 1.229 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.5749, allocations: 143.8 kB / 1.229 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/0.5777, allocations: 1.081 MB / 1.23 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.244e-05/0.5778, allocations: 28 kB / 1.23 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/0.5945, allocations: 13.53 MB / 1.243 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/0.5946, allocations: 12.31 kB / 1.243 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005945/0.6006, allocations: 3.154 MB / 1.246 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.6019, allocations: 427 kB / 1.246 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.6021, allocations: 35.94 kB / 1.246 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/0.603, allocations: 83.89 kB / 1.247 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/0.6034, allocations: 120.7 kB / 1.247 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/0.6035, allocations: 44 kB / 1.247 GB, free: 10.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001202/0.6047, allocations: 0.7632 MB / 1.247 GB, free: 9.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6047, allocations: 0 / 1.247 GB, free: 9.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002715/0.6074, allocations: 0.6562 MB / 1.248 GB, free: 9.254 MB / 1.014 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.0003262/0.6078, allocations: 147.1 kB / 1.248 GB, free: 9.102 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005078/0.6129, allocations: 3.142 MB / 1.251 GB, free: 5.926 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.6129, allocations: 0 / 1.251 GB, free: 5.926 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002996/0.6159, allocations: 1.951 MB / 1.253 GB, free: 3.934 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.6183, allocations: 497.1 kB / 1.254 GB, free: 3.461 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8087/1.427, allocations: 5.366 MB / 1.259 GB, free: 155.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004087/1.431, allocations: 2.337 MB / 1.261 GB, free: 154.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001692/1.433, allocations: 352.4 kB / 1.262 GB, free: 154.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/1.433, allocations: 92 kB / 1.262 GB, free: 154.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.643e-06/1.433, allocations: 0 / 1.262 GB, free: 154.4 MB / 1.014 GB Notification: Performance of Templates: time 0.07586/1.509, allocations: 33.75 MB / 1.295 GB, free: 145.8 MB / 1.014 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/jenkins/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