Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.0008271/0.0008271, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007847/0.0007847, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9063/0.9063, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.755/1.755, allocations: 377.8 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 3.938 kB / 0.9822 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.768e-05, allocations: 2.281 kB / 0.9822 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0238/0.02383, allocations: 21.83 MB / 1.004 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.008582/0.03241, allocations: 6.39 MB / 1.01 GB, free: 4.609 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.03357, allocations: 127.1 kB / 1.01 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.03564, allocations: 1.519 MB / 1.011 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.03823, allocations: 1.986 MB / 1.013 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.0405, allocations: 1.469 MB / 1.015 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005061/0.04556, allocations: 7.032 MB / 1.022 GB, free: 8.441 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003506/0.04906, allocations: 3.746 MB / 1.025 GB, free: 4.602 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00325/0.05231, allocations: 4.026 MB / 1.029 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5143/0.5667, allocations: 3.386 MB / 1.033 GB, free: 27.89 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.5677, allocations: 0.5286 MB / 1.033 GB, free: 27.89 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.5701, allocations: 1.133 MB / 1.034 GB, free: 27.89 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.002572/0.5727, allocations: 2.666 MB / 1.037 GB, free: 27.89 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002305/0.575, allocations: 1.755 MB / 1.038 GB, free: 27.89 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.009833/0.5848, allocations: 8.687 MB / 1.047 GB, free: 27.55 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.5848, allocations: 3 kB / 1.047 GB, free: 27.55 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5848, allocations: 0 / 1.047 GB, free: 27.55 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001871/0.585, allocations: 0 / 1.047 GB, free: 27.55 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008152/0.5932, allocations: 4.423 MB / 1.051 GB, free: 25.74 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.5932, allocations: 9.906 kB / 1.051 GB, free: 25.74 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/0.5984, allocations: 1.715 MB / 1.053 GB, free: 25.49 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/0.6023, allocations: 2.665 MB / 1.056 GB, free: 24.76 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.6024, allocations: 278 kB / 1.056 GB, free: 24.65 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005221/0.603, allocations: 367.1 kB / 1.056 GB, free: 24.54 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009641/0.6126, allocations: 7.711 MB / 1.064 GB, free: 21.38 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.45e-05/0.6127, allocations: 13.97 kB / 1.064 GB, free: 21.38 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003598/0.613, allocations: 158.5 kB / 1.064 GB, free: 21.27 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004762/0.6135, allocations: 492.3 kB / 1.064 GB, free: 21.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006761/0.6203, allocations: 5.698 MB / 1.07 GB, free: 19.35 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.6373, allocations: 19.92 MB / 1.089 GB, free: 7.242 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.6391, allocations: 2.01 MB / 1.091 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.6411, allocations: 2.101 MB / 1.093 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.6412, allocations: 19.16 kB / 1.093 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.6412, allocations: 53.8 kB / 1.093 GB, free: 5.023 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=146): time 3.767e-06/0.6412, allocations: 4.344 kB / 1.093 GB, free: 5.023 MB / 0.9323 GB Notification: Performance of matching and sorting (n=251): time 0.1467/0.7879, allocations: 76.7 MB / 1.168 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.7879, allocations: 77.41 kB / 1.168 GB, free: 4.766 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.7896, allocations: 1.614 MB / 1.17 GB, free: 3.156 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.7899, allocations: 65.7 kB / 1.17 GB, free: 3.086 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007426/0.7906, allocations: 1.793 MB / 1.172 GB, free: 1.281 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005965/0.7912, allocations: 0.8873 MB / 1.173 GB, free: 416 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006711/0.7919, allocations: 490.3 kB / 1.173 GB, free: 15.93 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.792, allocations: 305.1 kB / 1.173 GB, free: 15.62 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/0.7946, allocations: 2.729 MB / 1.176 GB, free: 12.89 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/0.7975, allocations: 3.335 MB / 1.179 GB, free: 9.316 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005744/0.8032, allocations: 6.395 MB / 1.186 GB, free: 2.75 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.8032, allocations: 4 kB / 1.186 GB, free: 2.746 MB / 1.01 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0194/0.8226, allocations: 14.4 MB / 1.2 GB, free: 4.598 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.8227, allocations: 12 kB / 1.2 GB, free: 4.586 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.8227, allocations: 20 kB / 1.2 GB, free: 4.566 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01651/0.8392, allocations: 9.191 MB / 1.209 GB, free: 11.37 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/0.84, allocations: 300.3 kB / 1.209 GB, free: 11.09 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04995/0.89, allocations: 50.84 MB / 1.259 GB, free: 7.734 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.8923, allocations: 223.7 kB / 1.259 GB, free: 7.516 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.8925, allocations: 96 kB / 1.259 GB, free: 7.422 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002883/0.8954, allocations: 1.59 MB / 1.26 GB, free: 5.844 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.8957, allocations: 246.6 kB / 1.261 GB, free: 5.602 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01906/0.9148, allocations: 14.48 MB / 1.275 GB, free: 7.086 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.9148, allocations: 24 kB / 1.275 GB, free: 7.062 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.462e-05/0.9148, allocations: 48 kB / 1.275 GB, free: 7.016 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.9149, allocations: 11.95 kB / 1.275 GB, free: 7.004 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/0.94, allocations: 18.92 MB / 1.293 GB, free: 3.98 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.94, allocations: 12 kB / 1.293 GB, free: 3.969 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.9404, allocations: 163.7 kB / 1.294 GB, free: 3.809 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01597/0.9564, allocations: 8.977 MB / 1.302 GB, free: 10.82 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/0.9566, allocations: 52 kB / 1.302 GB, free: 10.77 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05068/1.007, allocations: 50.41 MB / 1.352 GB, free: 7.762 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.83e-06/1.007, allocations: 8 kB / 1.352 GB, free: 7.754 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01981/1.027, allocations: 14.07 MB / 1.365 GB, free: 9.543 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/1.029, allocations: 0.7697 MB / 1.366 GB, free: 8.773 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/1.029, allocations: 55.92 kB / 1.366 GB, free: 8.719 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.03, allocations: 211.6 kB / 1.366 GB, free: 8.512 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001307/1.032, allocations: 253.9 kB / 1.367 GB, free: 8.266 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/1.032, allocations: 64 kB / 1.367 GB, free: 8.203 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001203/1.033, allocations: 1.064 MB / 1.368 GB, free: 7.148 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.7e-07/1.033, allocations: 0 / 1.368 GB, free: 7.148 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004247/1.037, allocations: 1.613 MB / 1.369 GB, free: 5.535 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003427/1.037, allocations: 167 kB / 1.369 GB, free: 5.363 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.01367/1.051, allocations: 10.19 MB / 1.379 GB, free: 11.15 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.051, allocations: 0 / 1.379 GB, free: 11.15 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.009702/1.061, allocations: 6.986 MB / 1.386 GB, free: 4.109 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/1.063, allocations: 0.536 MB / 1.387 GB, free: 3.59 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/1.076, allocations: 9.517 MB / 1.396 GB, free: 9.973 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00267/1.079, allocations: 2.755 MB / 1.399 GB, free: 7.176 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/1.079, allocations: 104.5 kB / 1.399 GB, free: 7.07 MB / 1.229 GB Notification: Performance of SimCode: time 2.445e-06/1.079, allocations: 3.938 kB / 1.399 GB, free: 7.066 MB / 1.229 GB Notification: Performance of Templates: time 0.6561/1.735, allocations: 189.2 MB / 1.584 GB, free: 470.7 MB / 1.37 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 17.00867720786482]