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.01094/0.01094, allocations: 103.7 kB / 15.74 MB, free: 6.035 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.002169/0.00217, allocations: 194.8 kB / 16.68 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.656/1.656, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.36/2.36, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 67.89 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196/1.198, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02759/1.225, allocations: 20.24 MB / 1.108 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01623/1.241, allocations: 6.447 MB / 1.114 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004057/1.246, allocations: 88.19 kB / 1.114 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.007531/1.253, allocations: 2.243 MB / 1.116 GB, free: 2.047 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006043/1.259, allocations: 1.242 MB / 1.117 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005197/1.264, allocations: 1.28 MB / 1.119 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009655/1.274, allocations: 4.861 MB / 1.123 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01265/1.287, allocations: 5.599 MB / 1.129 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006553/1.293, allocations: 2.117 MB / 1.131 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006805/1.3, allocations: 2.343 MB / 1.133 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002601/1.303, allocations: 429.9 kB / 1.134 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005576/1.309, allocations: 1 MB / 1.135 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00563/1.314, allocations: 1.669 MB / 1.136 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.008631/1.323, allocations: 1.911 MB / 1.138 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01788/1.341, allocations: 6.522 MB / 1.145 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/1.341, allocations: 0 / 1.145 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.314e-06/1.341, allocations: 0 / 1.145 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003724/1.341, allocations: 5.406 kB / 1.145 GB, free: 5.91 MB / 0.8887 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.01907/1.36, allocations: 3.455 MB / 1.148 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/1.36, allocations: 14.09 kB / 1.148 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006029/1.366, allocations: 0.6414 MB / 1.149 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00752/1.374, allocations: 2.038 MB / 1.151 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004407/1.374, allocations: 225.5 kB / 1.151 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002326/1.377, allocations: 292.1 kB / 1.151 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/1.395, allocations: 4.888 MB / 1.156 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001642/1.396, allocations: 13.31 kB / 1.156 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006198/1.396, allocations: 126.7 kB / 1.156 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005247/1.397, allocations: 232.4 kB / 1.156 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/1.407, allocations: 3.749 MB / 1.16 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03124/1.438, allocations: 21.41 MB / 1.181 GB, free: 9.109 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/1.44, allocations: 1.307 MB / 1.182 GB, free: 8.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/1.442, allocations: 1.047 MB / 1.183 GB, free: 7.871 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.763e-05/1.442, allocations: 11 kB / 1.183 GB, free: 7.871 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/1.442, allocations: 45.22 kB / 1.183 GB, free: 7.824 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 2.866e-06/1.442, allocations: 0 / 1.183 GB, free: 7.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.02526/1.467, allocations: 8.661 MB / 1.192 GB, free: 1.613 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/1.467, allocations: 64.72 kB / 1.192 GB, free: 1.539 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/1.469, allocations: 1.134 MB / 1.193 GB, free: 408 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/1.469, allocations: 49.7 kB / 1.193 GB, free: 352 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009651/1.47, allocations: 1.3 MB / 1.194 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004725/1.471, allocations: 481.2 kB / 1.195 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004757/1.471, allocations: 287.3 kB / 1.195 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.471, allocations: 309.1 kB / 1.195 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/1.472, allocations: 0.9096 MB / 1.196 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.474, allocations: 1.33 MB / 1.197 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/1.477, allocations: 2.426 MB / 1.2 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.477, allocations: 8 kB / 1.2 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006089/1.483, allocations: 3.467 MB / 1.203 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/1.483, allocations: 9 kB / 1.203 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/1.483, allocations: 16 kB / 1.203 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003252/1.486, allocations: 1.186 MB / 1.204 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/1.487, allocations: 251.6 kB / 1.204 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/1.505, allocations: 13.84 MB / 1.218 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.506, allocations: 87.92 kB / 1.218 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/1.507, allocations: 68.36 kB / 1.218 GB, free: 5.59 MB / 0.9512 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.002332/1.509, allocations: 1.119 MB / 1.219 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/1.509, allocations: 166 kB / 1.219 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005454/1.515, allocations: 3.165 MB / 1.222 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.515, allocations: 16 kB / 1.222 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/1.515, allocations: 23.92 kB / 1.222 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/1.515, allocations: 7.969 kB / 1.222 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/1.525, allocations: 6.245 MB / 1.229 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.525, allocations: 4 kB / 1.229 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/1.526, allocations: 148.3 kB / 1.229 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002784/1.529, allocations: 1.075 MB / 1.23 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.529, allocations: 28 kB / 1.23 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/1.545, allocations: 13.54 MB / 1.243 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/1.546, allocations: 7.984 kB / 1.243 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005385/1.551, allocations: 3.146 MB / 1.246 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.552, allocations: 430.9 kB / 1.247 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/1.552, allocations: 31.94 kB / 1.247 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007563/1.553, allocations: 87.89 kB / 1.247 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/1.553, allocations: 120.7 kB / 1.247 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-05/1.554, allocations: 40 kB / 1.247 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001024/1.555, allocations: 0.7632 MB / 1.248 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/1.555, allocations: 0 / 1.248 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002382/1.557, allocations: 0.6641 MB / 1.248 GB, free: 6.074 MB / 0.9825 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.0002601/1.557, allocations: 143.5 kB / 1.248 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004867/1.562, allocations: 3.13 MB / 1.251 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.562, allocations: 4 kB / 1.251 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002889/1.565, allocations: 1.951 MB / 1.253 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/1.567, allocations: 0.5045 MB / 1.254 GB, free: 276 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00952/1.577, allocations: 5.364 MB / 1.259 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002312/1.579, allocations: 2.34 MB / 1.261 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001129/1.58, allocations: 342.1 kB / 1.262 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/1.58, allocations: 91.42 kB / 1.262 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.58, allocations: 0 / 1.262 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of Templates: time 0.06074/1.641, allocations: 33.2 MB / 1.294 GB, free: 7.262 MB / 1.029 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