Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.001989/0.001989, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002582/0.002582, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.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 3.359/3.359, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] 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.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [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.002153/0.002153, allocations: 69.02 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3783, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02785/0.4062, allocations: 21.27 MB / 1.348 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.4359, allocations: 16.86 MB / 1.364 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004224/0.4401, allocations: 170.6 kB / 1.365 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.4523, allocations: 4.157 MB / 1.369 GB, free: 6.363 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0134/0.4657, allocations: 3.584 MB / 1.372 GB, free: 2.766 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.4698, allocations: 1.312 MB / 1.373 GB, free: 1.457 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.4802, allocations: 5.785 MB / 1.379 GB, free: 11.65 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004867/0.4851, allocations: 2.873 MB / 1.382 GB, free: 8.703 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0055/0.4906, allocations: 2.835 MB / 1.385 GB, free: 5.859 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004487/0.4951, allocations: 2.323 MB / 1.387 GB, free: 3.527 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008292/0.4959, allocations: 364 kB / 1.387 GB, free: 3.172 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.4983, allocations: 0.9555 MB / 1.388 GB, free: 2.215 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.4995, allocations: 1.215 MB / 1.389 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002369/0.5019, allocations: 1.633 MB / 1.391 GB, free: 15.36 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00705/0.5089, allocations: 5.191 MB / 1.396 GB, free: 10.14 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5089, allocations: 0 / 1.396 GB, free: 10.14 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5089, allocations: 0 / 1.396 GB, free: 10.14 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.524e-05/0.509, allocations: 0 / 1.396 GB, free: 10.14 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01142/0.5204, allocations: 4.655 MB / 1.401 GB, free: 5.391 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.5205, allocations: 8.031 kB / 1.401 GB, free: 5.383 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/0.5369, allocations: 3.275 MB / 1.404 GB, free: 2.102 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005695/0.5426, allocations: 2.155 MB / 1.406 GB, free: 15.87 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004596/0.5431, allocations: 470.3 kB / 1.406 GB, free: 15.35 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006006/0.5437, allocations: 231.9 kB / 1.406 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.5552, allocations: 5.374 MB / 1.412 GB, free: 9.492 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-05/0.5552, allocations: 0 / 1.412 GB, free: 9.492 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003339/0.5556, allocations: 104 kB / 1.412 GB, free: 9.391 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/0.5558, allocations: 172.8 kB / 1.412 GB, free: 9.219 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.5694, allocations: 5.187 MB / 1.417 GB, free: 4.016 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02004/0.5894, allocations: 8.76 MB / 1.426 GB, free: 11.14 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009904/0.5993, allocations: 3.242 MB / 1.429 GB, free: 7.875 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003587/0.6029, allocations: 1.369 MB / 1.43 GB, free: 6.508 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.603, allocations: 21.31 kB / 1.43 GB, free: 6.488 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004681/0.6077, allocations: 2.452 MB / 1.433 GB, free: 3.809 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 4.128e-06/0.6077, allocations: 0 / 1.433 GB, free: 3.809 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1248/0.7325, allocations: 27.52 MB / 1.459 GB, free: 8.238 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003638/0.7329, allocations: 0.4889 MB / 1.46 GB, free: 7.641 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.7361, allocations: 1.998 MB / 1.462 GB, free: 5.629 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004184/0.7365, allocations: 73.7 kB / 1.462 GB, free: 5.551 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.738, allocations: 1.469 MB / 1.463 GB, free: 4.07 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009374/0.7389, allocations: 0.8636 MB / 1.464 GB, free: 3.199 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009357/0.7399, allocations: 424.5 kB / 1.465 GB, free: 2.777 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.74, allocations: 305.1 kB / 1.465 GB, free: 2.477 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005268/0.7453, allocations: 2.062 MB / 1.467 GB, free: 388 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005872/0.7511, allocations: 2.78 MB / 1.47 GB, free: 13.39 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.7616, allocations: 4.161 MB / 1.474 GB, free: 9.09 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.7616, allocations: 4 kB / 1.474 GB, free: 9.086 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01886/0.7805, allocations: 6.592 MB / 1.48 GB, free: 2.375 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.7806, allocations: 148.5 kB / 1.48 GB, free: 2.199 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.7806, allocations: 8 kB / 1.48 GB, free: 2.191 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/0.7913, allocations: 2.92 MB / 1.483 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/0.7943, allocations: 487.2 kB / 1.484 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04143/0.8357, allocations: 18.2 MB / 1.501 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004355/0.8401, allocations: 323.6 kB / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004207/0.8405, allocations: 87.97 kB / 1.502 GB, free: 12 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001756/0.8422, allocations: 0.7024 MB / 1.502 GB, free: 11.29 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006784/0.8429, allocations: 318 kB / 1.503 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007531/0.8437, allocations: 365.2 kB / 1.503 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.8437, allocations: 24 kB / 1.503 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.489e-05/0.8438, allocations: 8 kB / 1.503 GB, free: 10.58 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.8438, allocations: 11.95 kB / 1.503 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/0.848, allocations: 2.731 MB / 1.506 GB, free: 7.805 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.848, allocations: 3.984 kB / 1.506 GB, free: 7.801 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/0.8505, allocations: 415.3 kB / 1.506 GB, free: 7.395 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/0.8608, allocations: 2.859 MB / 1.509 GB, free: 4.527 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003331/0.8611, allocations: 59.91 kB / 1.509 GB, free: 4.469 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03916/0.9003, allocations: 17.98 MB / 1.527 GB, free: 2.266 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9003, allocations: 0 / 1.527 GB, free: 2.266 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/0.9185, allocations: 6.079 MB / 1.533 GB, free: 12.16 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/0.9209, allocations: 0.5993 MB / 1.533 GB, free: 11.56 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005807/0.9215, allocations: 55.92 kB / 1.533 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/0.9245, allocations: 311.6 kB / 1.533 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001255/0.9258, allocations: 362.5 kB / 1.534 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/0.926, allocations: 71.97 kB / 1.534 GB, free: 10.77 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002023/0.928, allocations: 1.32 MB / 1.535 GB, free: 9.445 MB / 1.232 GB Notification: Performance of sort global known variables: time 6e-08/0.928, allocations: 0 / 1.535 GB, free: 9.445 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002916/0.9309, allocations: 1.036 MB / 1.536 GB, free: 8.41 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003984/0.9313, allocations: 164.2 kB / 1.536 GB, free: 8.238 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02325/0.9546, allocations: 6.473 MB / 1.543 GB, free: 1.641 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.9546, allocations: 4.188 kB / 1.543 GB, free: 1.637 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.01732/0.9719, allocations: 3.919 MB / 1.547 GB, free: 13.69 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004627/0.9765, allocations: 1.037 MB / 1.548 GB, free: 12.69 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.9912, allocations: 6.793 MB / 1.554 GB, free: 5.863 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/0.9933, allocations: 1.679 MB / 1.556 GB, free: 4.141 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002252/0.9956, allocations: 487.4 kB / 1.556 GB, free: 3.66 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006729/0.9963, allocations: 167.4 kB / 1.556 GB, free: 3.496 MB / 1.248 GB Notification: Performance of SimCode: time 1.453e-06/0.9963, allocations: 3.938 kB / 1.556 GB, free: 3.492 MB / 1.248 GB Notification: Performance of Templates: time 0.9103/1.907, allocations: 78.34 MB / 1.633 GB, free: 258.4 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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: 13.076316074002534]