Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001328/0.001328, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001453/0.001453, allocations: 212 kB / 22.24 MB, free: 5.242 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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: 476 MB / 0.7699 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [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.002108/0.002108, allocations: 66.11 kB / 1.117 GB, free: 40.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2967, allocations: 170 MB / 1.283 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03008/0.3268, allocations: 21.27 MB / 1.303 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02997/0.3567, allocations: 16.84 MB / 1.32 GB, free: 5.973 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003082/0.3598, allocations: 170.6 kB / 1.32 GB, free: 5.805 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01205/0.3719, allocations: 4.165 MB / 1.324 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.3832, allocations: 3.595 MB / 1.328 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.387, allocations: 1.304 MB / 1.329 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009645/0.3967, allocations: 5.796 MB / 1.334 GB, free: 6.914 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005997/0.4027, allocations: 2.832 MB / 1.337 GB, free: 4.004 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005823/0.4085, allocations: 2.824 MB / 1.34 GB, free: 1.172 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004766/0.4133, allocations: 2.147 MB / 1.342 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.4148, allocations: 368 kB / 1.342 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.4177, allocations: 0.9516 MB / 1.343 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001839/0.4196, allocations: 1.219 MB / 1.345 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002892/0.4225, allocations: 1.629 MB / 1.346 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.007459/0.4299, allocations: 5.187 MB / 1.351 GB, free: 5.637 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.4299, allocations: 4 kB / 1.351 GB, free: 5.633 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4299, allocations: 0 / 1.351 GB, free: 5.633 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001733/0.4301, allocations: 4 kB / 1.351 GB, free: 5.629 MB / 1.045 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.01175/0.4419, allocations: 4.643 MB / 1.356 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4419, allocations: 12.03 kB / 1.356 GB, free: 0.875 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000539/0.4425, allocations: 358.3 kB / 1.356 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/0.4586, allocations: 3.279 MB / 1.359 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/0.4642, allocations: 2.162 MB / 1.361 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004769/0.4646, allocations: 478 kB / 1.362 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006373/0.4653, allocations: 228 kB / 1.362 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.4768, allocations: 5.367 MB / 1.367 GB, free: 4.621 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.925e-05/0.4768, allocations: 3.938 kB / 1.367 GB, free: 4.617 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.4772, allocations: 104 kB / 1.367 GB, free: 4.516 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.4774, allocations: 172.8 kB / 1.368 GB, free: 4.344 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.4914, allocations: 5.191 MB / 1.373 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02126/0.5127, allocations: 9.174 MB / 1.382 GB, free: 5.832 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009827/0.5225, allocations: 3.25 MB / 1.385 GB, free: 2.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00368/0.5262, allocations: 1.377 MB / 1.386 GB, free: 1.191 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.5263, allocations: 17.31 kB / 1.386 GB, free: 1.176 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004626/0.5309, allocations: 2.443 MB / 1.389 GB, free: 14.5 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 4.047e-06/0.5309, allocations: 0 / 1.389 GB, free: 14.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1279/0.6588, allocations: 27.53 MB / 1.415 GB, free: 2.922 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003187/0.6591, allocations: 0.4928 MB / 1.416 GB, free: 2.32 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/0.663, allocations: 2.312 MB / 1.418 GB, free: 15.99 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003625/0.6634, allocations: 77.7 kB / 1.418 GB, free: 15.91 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.6648, allocations: 1.46 MB / 1.42 GB, free: 14.44 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.6659, allocations: 0.8559 MB / 1.421 GB, free: 13.58 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.6669, allocations: 420.5 kB / 1.421 GB, free: 13.16 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.667, allocations: 301.1 kB / 1.421 GB, free: 12.86 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005543/0.6726, allocations: 2.066 MB / 1.423 GB, free: 10.76 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005959/0.6785, allocations: 2.774 MB / 1.426 GB, free: 7.773 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.6896, allocations: 4.169 MB / 1.43 GB, free: 3.469 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.6896, allocations: 4 kB / 1.43 GB, free: 3.465 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.021/0.7106, allocations: 6.623 MB / 1.436 GB, free: 12.71 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.7107, allocations: 148.5 kB / 1.437 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.7107, allocations: 4 kB / 1.437 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/0.7214, allocations: 2.921 MB / 1.439 GB, free: 9.609 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/0.7244, allocations: 487.2 kB / 1.44 GB, free: 9.133 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04469/0.7691, allocations: 18.29 MB / 1.458 GB, free: 6.648 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004165/0.7732, allocations: 327.6 kB / 1.458 GB, free: 6.328 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004626/0.7737, allocations: 91.98 kB / 1.458 GB, free: 6.238 MB / 1.154 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.001864/0.7756, allocations: 0.7115 MB / 1.459 GB, free: 5.52 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009093/0.7765, allocations: 345.8 kB / 1.459 GB, free: 5.18 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000914/0.7774, allocations: 388.1 kB / 1.46 GB, free: 4.793 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.7774, allocations: 24 kB / 1.46 GB, free: 4.77 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.487e-05/0.7775, allocations: 12 kB / 1.46 GB, free: 4.758 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.7775, allocations: 11.95 kB / 1.46 GB, free: 4.746 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/0.7827, allocations: 3.046 MB / 1.463 GB, free: 1.652 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.7828, allocations: 0 / 1.463 GB, free: 1.652 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/0.7853, allocations: 419.3 kB / 1.463 GB, free: 1.242 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01027/0.7956, allocations: 2.863 MB / 1.466 GB, free: 14.37 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003286/0.7959, allocations: 51.97 kB / 1.466 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04177/0.8377, allocations: 18.06 MB / 1.484 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8377, allocations: 0 / 1.484 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01906/0.8568, allocations: 6.116 MB / 1.489 GB, free: 5.867 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/0.859, allocations: 0.6304 MB / 1.49 GB, free: 5.234 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008045/0.8598, allocations: 51.92 kB / 1.49 GB, free: 5.184 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003502/0.8633, allocations: 311.6 kB / 1.49 GB, free: 4.879 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001222/0.8646, allocations: 374.5 kB / 1.491 GB, free: 4.512 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/0.8648, allocations: 67.97 kB / 1.491 GB, free: 4.445 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002696/0.8675, allocations: 1.536 MB / 1.492 GB, free: 2.91 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8675, allocations: 3.938 kB / 1.492 GB, free: 2.906 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002896/0.8704, allocations: 1.043 MB / 1.493 GB, free: 1.863 MB / 1.186 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.01967/0.8901, allocations: 6.737 MB / 1.5 GB, free: 11.09 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02465/0.9147, allocations: 6.457 MB / 1.506 GB, free: 4.5 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.9147, allocations: 0.75 kB / 1.506 GB, free: 4.5 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0183/0.933, allocations: 3.938 MB / 1.51 GB, free: 0.5391 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005441/0.9385, allocations: 1.131 MB / 1.511 GB, free: 15.45 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08098/1.019, allocations: 32.39 MB / 1.543 GB, free: 14.46 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00265/1.022, allocations: 1.688 MB / 1.545 GB, free: 12.73 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002403/1.024, allocations: 0.5097 MB / 1.545 GB, free: 12.21 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/1.027, allocations: 1.339 MB / 1.546 GB, free: 10.88 MB / 1.248 GB Notification: Performance of SimCode: time 1.492e-06/1.027, allocations: 0 / 1.546 GB, free: 10.88 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7541/1.781, allocations: 107.2 MB / 1.651 GB, free: 283.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.67/20.46, allocations: 0 / 1.651 GB, free: 283.4 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv --start-time 0 --stop-time 4000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable Sloads in file Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable Sloads from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! Error: Could not read variable E.S[1] in file Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable E.S[1] from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 27.116475777234882]