Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.832/2.832, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_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=2500,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 59.91 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4382, allocations: 169.9 MB / 1.117 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 1.032/1.47, allocations: 33.77 MB / 1.15 GB, free: 45.51 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01945/1.49, allocations: 11.55 MB / 1.162 GB, free: 38.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00496/1.495, allocations: 214.7 kB / 1.162 GB, free: 37.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01111/1.506, allocations: 4.269 MB / 1.166 GB, free: 35.53 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007945/1.514, allocations: 2.091 MB / 1.168 GB, free: 34.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007573/1.521, allocations: 2.415 MB / 1.17 GB, free: 32.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01341/1.535, allocations: 8.456 MB / 1.179 GB, free: 29.1 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01231/1.547, allocations: 6.165 MB / 1.185 GB, free: 26.03 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/1.557, allocations: 3.87 MB / 1.189 GB, free: 24.27 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01183/1.569, allocations: 4.15 MB / 1.193 GB, free: 22.72 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.005098/1.574, allocations: 0.7801 MB / 1.193 GB, free: 22.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009732/1.584, allocations: 1.897 MB / 1.195 GB, free: 22.29 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.009851/1.594, allocations: 3.134 MB / 1.198 GB, free: 20.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01469/1.609, allocations: 2.751 MB / 1.201 GB, free: 19.39 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.03189/1.641, allocations: 12.07 MB / 1.213 GB, free: 15.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.641, allocations: 0 / 1.213 GB, free: 15.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.585e-06/1.641, allocations: 5.062 kB / 1.213 GB, free: 15.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0006848/1.641, allocations: 0 / 1.213 GB, free: 15.61 MB / 1.076 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.03262/1.674, allocations: 5.869 MB / 1.218 GB, free: 12.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/1.674, allocations: 10.23 kB / 1.218 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/1.684, allocations: 1.098 MB / 1.22 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01243/1.697, allocations: 3.413 MB / 1.223 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006244/1.697, allocations: 413.9 kB / 1.223 GB, free: 10.1 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004122/1.701, allocations: 0.537 MB / 1.224 GB, free: 9.918 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03478/1.736, allocations: 9.388 MB / 1.233 GB, free: 5.746 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003241/1.736, allocations: 32.44 kB / 1.233 GB, free: 5.727 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001743/1.738, allocations: 239.5 kB / 1.233 GB, free: 5.547 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005731/1.739, allocations: 347.2 kB / 1.234 GB, free: 5.508 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02357/1.762, allocations: 6.822 MB / 1.24 GB, free: 2.613 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05543/1.818, allocations: 24.27 MB / 1.264 GB, free: 15.67 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/1.822, allocations: 2.291 MB / 1.266 GB, free: 14.45 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002971/1.825, allocations: 1.765 MB / 1.268 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/1.825, allocations: 22.97 kB / 1.268 GB, free: 13.53 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.955e-05/1.825, allocations: 56.23 kB / 1.268 GB, free: 13.47 MB / 1.107 GB Notification: Performance of pre-optimization done (n=179): time 4.819e-06/1.825, allocations: 0 / 1.268 GB, free: 13.47 MB / 1.107 GB Notification: Performance of matching and sorting (n=182): time 0.02687/1.852, allocations: 9.682 MB / 1.277 GB, free: 6.309 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/1.852, allocations: 69.41 kB / 1.277 GB, free: 6.227 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/1.855, allocations: 1.449 MB / 1.279 GB, free: 4.777 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/1.855, allocations: 49.7 kB / 1.279 GB, free: 4.723 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/1.857, allocations: 2.315 MB / 1.281 GB, free: 2.387 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007594/1.857, allocations: 0.6701 MB / 1.282 GB, free: 1.711 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007163/1.858, allocations: 408.1 kB / 1.282 GB, free: 1.305 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.858, allocations: 305.1 kB / 1.283 GB, free: 1.004 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/1.86, allocations: 1.179 MB / 1.284 GB, free: 15.82 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002507/1.863, allocations: 1.889 MB / 1.286 GB, free: 13.61 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004702/1.867, allocations: 3.371 MB / 1.289 GB, free: 9.934 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/1.867, allocations: 4.625 kB / 1.289 GB, free: 9.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008273/1.876, allocations: 4.524 MB / 1.293 GB, free: 5.383 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/1.876, allocations: 19.98 kB / 1.293 GB, free: 5.363 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/1.876, allocations: 20 kB / 1.293 GB, free: 5.344 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003895/1.88, allocations: 1.583 MB / 1.295 GB, free: 3.754 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.881, allocations: 351.4 kB / 1.295 GB, free: 3.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02642/1.907, allocations: 17.79 MB / 1.313 GB, free: 1.211 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/1.91, allocations: 119.9 kB / 1.313 GB, free: 1.094 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/1.91, allocations: 100 kB / 1.313 GB, free: 0.9961 MB / 1.139 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.004929/1.915, allocations: 1.903 MB / 1.315 GB, free: 15.08 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006178/1.916, allocations: 230.7 kB / 1.315 GB, free: 14.85 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007556/1.923, allocations: 4.051 MB / 1.319 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/1.923, allocations: 16 kB / 1.319 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/1.923, allocations: 16 kB / 1.319 GB, free: 10.73 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.923, allocations: 11.95 kB / 1.319 GB, free: 10.72 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/1.939, allocations: 7.837 MB / 1.326 GB, free: 2.766 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/1.939, allocations: 11.88 kB / 1.327 GB, free: 2.754 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/1.94, allocations: 183.7 kB / 1.327 GB, free: 2.574 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003531/1.944, allocations: 1.346 MB / 1.328 GB, free: 1.219 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/1.944, allocations: 36 kB / 1.328 GB, free: 1.184 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02395/1.968, allocations: 16.61 MB / 1.344 GB, free: 172 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/1.968, allocations: 11.94 kB / 1.344 GB, free: 160 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007969/1.976, allocations: 4.016 MB / 1.348 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/1.977, allocations: 458.5 kB / 1.349 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/1.978, allocations: 39.94 kB / 1.349 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009667/1.979, allocations: 87.89 kB / 1.349 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005962/1.979, allocations: 169.5 kB / 1.349 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.979, allocations: 48 kB / 1.349 GB, free: 11.26 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001551/1.981, allocations: 0.9193 MB / 1.35 GB, free: 10.35 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.981, allocations: 0 / 1.35 GB, free: 10.35 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004305/1.985, allocations: 0.996 MB / 1.351 GB, free: 9.355 MB / 1.186 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.0003272/1.986, allocations: 141.9 kB / 1.351 GB, free: 9.207 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007755/1.993, allocations: 4.171 MB / 1.355 GB, free: 4.992 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.993, allocations: 0 / 1.355 GB, free: 4.992 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004694/1.998, allocations: 2.569 MB / 1.358 GB, free: 2.367 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/2.002, allocations: 0.7569 MB / 1.358 GB, free: 1.648 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/2.021, allocations: 8.888 MB / 1.367 GB, free: 8.668 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00475/2.025, allocations: 3.039 MB / 1.37 GB, free: 5.586 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001817/2.027, allocations: 447.1 kB / 1.37 GB, free: 5.145 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/2.028, allocations: 116.5 kB / 1.37 GB, free: 5.031 MB / 1.201 GB Notification: Performance of SimCode: time 1.162e-06/2.028, allocations: 0 / 1.37 GB, free: 5.031 MB / 1.201 GB Notification: Performance of Templates: time 0.0893/2.117, allocations: 44.75 MB / 1.414 GB, free: 9.094 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.522779114893638]