Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.00164/0.00164, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.002203/0.002203, allocations: 158.2 kB / 23 MB, free: 4.961 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.537/1.537, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.808/2.808, allocations: 359.1 MB / 0.6044 GB, free: 14.87 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.ACLineMatrix_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [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.002446/0.002446, allocations: 67.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4275, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01598/0.4434, allocations: 9.663 MB / 1.127 GB, free: 8.855 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007088/0.4505, allocations: 3.022 MB / 1.13 GB, free: 5.828 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007999/0.4513, allocations: 51.62 kB / 1.13 GB, free: 5.777 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.4535, allocations: 0.6842 MB / 1.131 GB, free: 5.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.4555, allocations: 0.7235 MB / 1.131 GB, free: 4.363 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.4572, allocations: 0.6443 MB / 1.132 GB, free: 3.719 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003852/0.4611, allocations: 2.738 MB / 1.135 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8486/1.31, allocations: 1.359 MB / 1.136 GB, free: 45.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/1.312, allocations: 1.161 MB / 1.137 GB, free: 45.94 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/1.313, allocations: 1.434 MB / 1.138 GB, free: 45.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002827/1.314, allocations: 216 kB / 1.139 GB, free: 45.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008599/1.315, allocations: 462.4 kB / 1.139 GB, free: 45.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007368/1.315, allocations: 1.007 MB / 1.14 GB, free: 45.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007624/1.316, allocations: 0.8271 MB / 1.141 GB, free: 45.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002593/1.319, allocations: 3.432 MB / 1.144 GB, free: 45.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.319, allocations: 4.125 kB / 1.144 GB, free: 45.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.813e-06/1.319, allocations: 0 / 1.144 GB, free: 45.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.559e-05/1.319, allocations: 3.656 kB / 1.144 GB, free: 45.21 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003414/1.322, allocations: 1.915 MB / 1.146 GB, free: 44.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/1.322, allocations: 9.688 kB / 1.146 GB, free: 44.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005431/1.328, allocations: 0.916 MB / 1.147 GB, free: 44.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002271/1.33, allocations: 1.129 MB / 1.148 GB, free: 43.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/1.33, allocations: 105.5 kB / 1.148 GB, free: 43.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/1.33, allocations: 146 kB / 1.148 GB, free: 43.97 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004173/1.334, allocations: 3.094 MB / 1.151 GB, free: 43.58 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/1.334, allocations: 5.875 kB / 1.151 GB, free: 43.58 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/1.335, allocations: 63.02 kB / 1.151 GB, free: 43.54 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002101/1.335, allocations: 176.2 kB / 1.152 GB, free: 43.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003591/1.338, allocations: 2.602 MB / 1.154 GB, free: 42.7 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/1.35, allocations: 9.053 MB / 1.163 GB, free: 37.78 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/1.352, allocations: 1.22 MB / 1.164 GB, free: 37.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/1.353, allocations: 0.9773 MB / 1.165 GB, free: 37.08 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.247e-05/1.354, allocations: 13.5 kB / 1.165 GB, free: 37.08 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/1.354, allocations: 50.78 kB / 1.165 GB, free: 37.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 3.176e-06/1.354, allocations: 0 / 1.165 GB, free: 37.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.07863/1.432, allocations: 18.87 MB / 1.184 GB, free: 33.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/1.432, allocations: 69.75 kB / 1.184 GB, free: 33.76 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/1.434, allocations: 0.9026 MB / 1.185 GB, free: 33.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/1.434, allocations: 47.14 kB / 1.185 GB, free: 33.35 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/1.434, allocations: 0.7551 MB / 1.185 GB, free: 32.76 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/1.435, allocations: 0.5051 MB / 1.186 GB, free: 32.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006252/1.436, allocations: 290.9 kB / 1.186 GB, free: 32.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001026/1.436, allocations: 355.2 kB / 1.186 GB, free: 31.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/1.438, allocations: 1.335 MB / 1.188 GB, free: 31.46 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/1.44, allocations: 1.659 MB / 1.189 GB, free: 30.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004383/1.444, allocations: 3.091 MB / 1.192 GB, free: 29.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/1.444, allocations: 2.406 kB / 1.192 GB, free: 29.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01303/1.457, allocations: 5.554 MB / 1.198 GB, free: 27.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/1.457, allocations: 13.66 kB / 1.198 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/1.457, allocations: 9.047 kB / 1.198 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009999/1.467, allocations: 2.717 MB / 1.201 GB, free: 27.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/1.468, allocations: 191.5 kB / 1.201 GB, free: 27.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0403/1.509, allocations: 24.84 MB / 1.225 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.511, allocations: 95.27 kB / 1.225 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/1.511, allocations: 58.41 kB / 1.225 GB, free: 14.55 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001349/1.512, allocations: 0.7444 MB / 1.226 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/1.512, allocations: 115.6 kB / 1.226 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/1.523, allocations: 5.313 MB / 1.231 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/1.523, allocations: 17.94 kB / 1.231 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.41e-05/1.523, allocations: 19.03 kB / 1.231 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/1.523, allocations: 7.969 kB / 1.231 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/1.54, allocations: 7.961 MB / 1.239 GB, free: 7.445 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.54, allocations: 7.375 kB / 1.239 GB, free: 7.441 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/1.541, allocations: 119.9 kB / 1.239 GB, free: 7.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008139/1.549, allocations: 2.582 MB / 1.242 GB, free: 6.102 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/1.549, allocations: 26.09 kB / 1.242 GB, free: 6.086 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03643/1.585, allocations: 23.31 MB / 1.264 GB, free: 0.8594 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/1.585, allocations: 11.92 kB / 1.264 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0127/1.598, allocations: 5.168 MB / 1.269 GB, free: 11.6 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.6, allocations: 427.1 kB / 1.27 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006083/1.601, allocations: 24 kB / 1.27 GB, free: 11.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/1.602, allocations: 79.91 kB / 1.27 GB, free: 11.08 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008714/1.603, allocations: 128.9 kB / 1.27 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.603, allocations: 36 kB / 1.27 GB, free: 10.92 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001555/1.605, allocations: 0.6254 MB / 1.271 GB, free: 10.3 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.605, allocations: 0 / 1.271 GB, free: 10.3 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003601/1.608, allocations: 0.7227 MB / 1.271 GB, free: 9.578 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000351/1.609, allocations: 139.1 kB / 1.272 GB, free: 9.434 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008581/1.617, allocations: 4.087 MB / 1.276 GB, free: 5.32 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/1.617, allocations: 4.062 kB / 1.276 GB, free: 5.316 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00599/1.623, allocations: 2.608 MB / 1.278 GB, free: 2.664 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/1.625, allocations: 216.9 kB / 1.278 GB, free: 2.469 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008783/1.634, allocations: 4.077 MB / 1.282 GB, free: 14.33 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/1.636, allocations: 1.109 MB / 1.283 GB, free: 13.18 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009278/1.637, allocations: 321.2 kB / 1.284 GB, free: 12.87 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/1.637, allocations: 60.48 kB / 1.284 GB, free: 12.81 MB / 1.123 GB Notification: Performance of SimCode: time 1.112e-06/1.637, allocations: 0 / 1.284 GB, free: 12.81 MB / 1.123 GB Notification: Performance of Templates: time 0.07137/1.708, allocations: 41.86 MB / 1.325 GB, free: 3.27 MB / 1.154 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 10.82032350602094]