Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001211/0.001211, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.01039/0.01039, allocations: 174.1 kB / 16.26 MB, free: 6.336 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.516/1.516, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005056, allocations: 11.98 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7547, allocations: 153.8 MB / 1.023 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02439/0.7791, allocations: 19.48 MB / 1.042 GB, free: 12.45 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01197/0.7911, allocations: 6.375 MB / 1.048 GB, free: 6.062 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.7934, allocations: 71.62 kB / 1.048 GB, free: 5.992 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.7947, allocations: 408.8 kB / 1.049 GB, free: 5.59 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.7986, allocations: 1.12 MB / 1.05 GB, free: 4.465 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.8023, allocations: 1.076 MB / 1.051 GB, free: 3.391 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009169/0.8114, allocations: 6.975 MB / 1.058 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01178/0.8233, allocations: 7.271 MB / 1.065 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.8264, allocations: 1.49 MB / 1.066 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.8301, allocations: 2.028 MB / 1.068 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000574/0.8307, allocations: 176 kB / 1.068 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.8331, allocations: 0.9241 MB / 1.069 GB, free: 428 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.8349, allocations: 1.341 MB / 1.071 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00224/0.8371, allocations: 1.576 MB / 1.072 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007177/0.8443, allocations: 6.21 MB / 1.078 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8444, allocations: 0 / 1.078 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8444, allocations: 4 kB / 1.078 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002161/0.8446, allocations: 0 / 1.078 GB, free: 7.25 MB / 0.8262 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.006757/0.8514, allocations: 2.824 MB / 1.081 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.8514, allocations: 12.03 kB / 1.081 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00381/0.8552, allocations: 0.6371 MB / 1.082 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/0.8589, allocations: 1.94 MB / 1.084 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.8591, allocations: 218.3 kB / 1.084 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005977/0.8597, allocations: 296.2 kB / 1.084 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00864/0.8683, allocations: 4.89 MB / 1.089 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.281e-05/0.8685, allocations: 11.88 kB / 1.089 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003262/0.8688, allocations: 128 kB / 1.089 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004507/0.8693, allocations: 229.7 kB / 1.089 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006922/0.8762, allocations: 3.754 MB / 1.093 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/0.9025, allocations: 21.62 MB / 1.114 GB, free: 384 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.9046, allocations: 1.31 MB / 1.115 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.9061, allocations: 1.038 MB / 1.116 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.35e-05/0.9061, allocations: 12.98 kB / 1.116 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/0.9062, allocations: 51.5 kB / 1.116 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 4.378e-06/0.9062, allocations: 4 kB / 1.116 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02539/0.9316, allocations: 8.711 MB / 1.125 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.9317, allocations: 64.72 kB / 1.125 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.9334, allocations: 1.126 MB / 1.126 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.9336, allocations: 49.7 kB / 1.126 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009368/0.9346, allocations: 1.296 MB / 1.127 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004807/0.9351, allocations: 481.2 kB / 1.128 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.9353, allocations: 133.6 kB / 1.128 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.9354, allocations: 305.1 kB / 1.128 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.9367, allocations: 0.9135 MB / 1.129 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.9383, allocations: 1.322 MB / 1.13 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/0.9416, allocations: 2.433 MB / 1.133 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.9416, allocations: 4 kB / 1.133 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006387/0.948, allocations: 3.463 MB / 1.136 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.9481, allocations: 15.92 kB / 1.136 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.9481, allocations: 12 kB / 1.136 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003303/0.9514, allocations: 1.186 MB / 1.137 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.9525, allocations: 259.5 kB / 1.138 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/0.9691, allocations: 12.76 MB / 1.15 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.9706, allocations: 91.91 kB / 1.15 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.9707, allocations: 60 kB / 1.15 GB, free: 10.41 MB / 0.9044 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.002125/0.9729, allocations: 1.116 MB / 1.151 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.9732, allocations: 162.1 kB / 1.151 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005863/0.979, allocations: 3.177 MB / 1.154 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.9791, allocations: 16 kB / 1.154 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.9791, allocations: 12 kB / 1.154 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.9791, allocations: 7.922 kB / 1.154 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.9897, allocations: 6.245 MB / 1.161 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.9897, allocations: 8.375 kB / 1.161 GB, free: 15.49 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.9903, allocations: 147.8 kB / 1.161 GB, free: 15.35 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002866/0.9932, allocations: 1.075 MB / 1.162 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.419e-05/0.9933, allocations: 28 kB / 1.162 GB, free: 14.24 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/1.009, allocations: 12.46 MB / 1.174 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.009, allocations: 4 kB / 1.174 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005653/1.015, allocations: 3.158 MB / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.016, allocations: 427.1 kB / 1.177 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/1.017, allocations: 35.94 kB / 1.178 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/1.017, allocations: 84.2 kB / 1.178 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/1.018, allocations: 116.7 kB / 1.178 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.032e-05/1.018, allocations: 44 kB / 1.178 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001145/1.019, allocations: 0.7671 MB / 1.178 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/1.019, allocations: 0 / 1.178 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002121/1.021, allocations: 0.6562 MB / 1.179 GB, free: 12 MB / 0.9356 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.0002678/1.022, allocations: 147 kB / 1.179 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005345/1.027, allocations: 3.131 MB / 1.182 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.027, allocations: 0 / 1.182 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003097/1.03, allocations: 1.963 MB / 1.184 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/1.033, allocations: 472.7 kB / 1.185 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009805/1.043, allocations: 6.756 MB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/1.046, allocations: 2.34 MB / 1.194 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001345/1.047, allocations: 350.1 kB / 1.194 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/1.047, allocations: 91.42 kB / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of SimCode: time 8.02e-07/1.047, allocations: 0 / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of Templates: time 0.05453/1.102, allocations: 30.95 MB / 1.224 GB, free: 14.04 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches