Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001352/0.001352, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001424/0.001424, allocations: 160.1 kB / 23.01 MB, free: 4.594 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.408/1.408, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.808/2.808, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_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_12_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_12_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.002279/0.002279, allocations: 63.91 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8772/0.8795, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009154/0.8886, allocations: 9.662 MB / 1.163 GB, free: 27.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004904/0.8935, allocations: 3.029 MB / 1.166 GB, free: 25.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007391/0.8942, allocations: 48.19 kB / 1.166 GB, free: 25.21 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.896, allocations: 0.6911 MB / 1.167 GB, free: 24.82 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.8974, allocations: 0.7307 MB / 1.168 GB, free: 24.4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.8986, allocations: 0.6345 MB / 1.168 GB, free: 24.08 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002324/0.9009, allocations: 2.73 MB / 1.171 GB, free: 22.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.9026, allocations: 1.362 MB / 1.172 GB, free: 22.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.9047, allocations: 1.159 MB / 1.173 GB, free: 21.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.9071, allocations: 1.43 MB / 1.175 GB, free: 21.24 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004244/0.9075, allocations: 216.9 kB / 1.175 GB, free: 21.24 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.9086, allocations: 468.9 kB / 1.176 GB, free: 21.15 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.9096, allocations: 1.003 MB / 1.177 GB, free: 20.76 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.9109, allocations: 0.8285 MB / 1.177 GB, free: 20.31 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00453/0.9154, allocations: 3.434 MB / 1.181 GB, free: 19.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.9154, allocations: 0 / 1.181 GB, free: 19.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9154, allocations: 0 / 1.181 GB, free: 19.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001028/0.9155, allocations: 1.672 kB / 1.181 GB, free: 19.25 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.004578/0.9201, allocations: 1.922 MB / 1.183 GB, free: 18.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9201, allocations: 9.281 kB / 1.183 GB, free: 18.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00651/0.9266, allocations: 0.9144 MB / 1.183 GB, free: 17.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.9297, allocations: 1.125 MB / 1.185 GB, free: 17.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.543e-05/0.9298, allocations: 117 kB / 1.185 GB, free: 17.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004991/0.9303, allocations: 147 kB / 1.185 GB, free: 17.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006244/0.9365, allocations: 3.097 MB / 1.188 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.037e-05/0.9366, allocations: 6.656 kB / 1.188 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002134/0.9368, allocations: 70.59 kB / 1.188 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002961/0.9371, allocations: 176.1 kB / 1.188 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005034/0.9421, allocations: 2.603 MB / 1.191 GB, free: 15.06 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.01605/0.9582, allocations: 9.038 MB / 1.199 GB, free: 9.938 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.9604, allocations: 1.217 MB / 1.201 GB, free: 9.535 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.9618, allocations: 0.9764 MB / 1.202 GB, free: 9.227 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.9618, allocations: 8.781 kB / 1.202 GB, free: 9.227 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.9618, allocations: 43.98 kB / 1.202 GB, free: 9.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 3.226e-06/0.9618, allocations: 0 / 1.202 GB, free: 9.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.07842/1.04, allocations: 18.89 MB / 1.22 GB, free: 5.762 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.04, allocations: 66.56 kB / 1.22 GB, free: 5.695 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/1.042, allocations: 0.9088 MB / 1.221 GB, free: 5.316 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002071/1.042, allocations: 54.02 kB / 1.221 GB, free: 5.262 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/1.042, allocations: 0.752 MB / 1.222 GB, free: 4.672 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003737/1.043, allocations: 0.4982 MB / 1.222 GB, free: 4.273 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005734/1.043, allocations: 295.6 kB / 1.223 GB, free: 4.141 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/1.043, allocations: 356 kB / 1.223 GB, free: 3.812 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/1.045, allocations: 1.334 MB / 1.224 GB, free: 3.367 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/1.047, allocations: 1.656 MB / 1.226 GB, free: 2.574 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/1.051, allocations: 3.08 MB / 1.229 GB, free: 1.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.051, allocations: 3.062 kB / 1.229 GB, free: 1.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01219/1.064, allocations: 5.56 MB / 1.234 GB, free: 14.76 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.064, allocations: 9.219 kB / 1.234 GB, free: 14.76 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/1.064, allocations: 9.062 kB / 1.234 GB, free: 14.76 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009295/1.073, allocations: 2.722 MB / 1.237 GB, free: 13.41 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009265/1.074, allocations: 188.4 kB / 1.237 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04008/1.114, allocations: 24.85 MB / 1.261 GB, free: 9.906 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/1.116, allocations: 99.95 kB / 1.262 GB, free: 9.809 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/1.116, allocations: 56.06 kB / 1.262 GB, free: 9.754 MB / 1.107 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.001461/1.117, allocations: 0.7316 MB / 1.262 GB, free: 9.012 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/1.118, allocations: 119.3 kB / 1.262 GB, free: 8.895 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.13, allocations: 5.314 MB / 1.268 GB, free: 3.551 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/1.13, allocations: 19.94 kB / 1.268 GB, free: 3.531 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.159e-05/1.13, allocations: 16 kB / 1.268 GB, free: 3.516 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/1.13, allocations: 7.969 kB / 1.268 GB, free: 3.508 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/1.147, allocations: 7.967 MB / 1.275 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.147, allocations: 4 kB / 1.275 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/1.148, allocations: 119.8 kB / 1.276 GB, free: 11.31 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009007/1.157, allocations: 2.585 MB / 1.278 GB, free: 8.715 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/1.157, allocations: 28 kB / 1.278 GB, free: 8.688 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03767/1.194, allocations: 23.32 MB / 1.301 GB, free: 0.957 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.194, allocations: 7.938 kB / 1.301 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.207, allocations: 5.167 MB / 1.306 GB, free: 11.7 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.208, allocations: 423.1 kB / 1.306 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/1.208, allocations: 31.94 kB / 1.306 GB, free: 11.26 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.209, allocations: 75.91 kB / 1.306 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005177/1.21, allocations: 128.9 kB / 1.307 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.21, allocations: 36 kB / 1.307 GB, free: 11.02 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009163/1.211, allocations: 0.6239 MB / 1.307 GB, free: 10.4 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.211, allocations: 4 kB / 1.307 GB, free: 10.39 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0026/1.213, allocations: 0.7188 MB / 1.308 GB, free: 9.676 MB / 1.154 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.0002678/1.214, allocations: 135.6 kB / 1.308 GB, free: 9.535 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007903/1.221, allocations: 4.086 MB / 1.312 GB, free: 5.391 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.221, allocations: 0 / 1.312 GB, free: 5.391 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005817/1.227, allocations: 2.611 MB / 1.315 GB, free: 2.73 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/1.229, allocations: 227.3 kB / 1.315 GB, free: 2.516 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007223/1.236, allocations: 4.064 MB / 1.319 GB, free: 14.39 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/1.238, allocations: 1.117 MB / 1.32 GB, free: 13.23 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008146/1.238, allocations: 321.2 kB / 1.32 GB, free: 12.92 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/1.239, allocations: 60.5 kB / 1.32 GB, free: 12.86 MB / 1.17 GB Notification: Performance of SimCode: time 6.71e-07/1.239, allocations: 0 / 1.32 GB, free: 12.86 MB / 1.17 GB Notification: Performance of Templates: time 0.06323/1.302, allocations: 41.87 MB / 1.361 GB, free: 3.262 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.721309346030466]