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.00184/0.00184, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002159/0.002159, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.145/3.145, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_12_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.001944/0.001944, allocations: 68.86 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.356, allocations: 176.1 MB / 1.321 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02759/0.3836, allocations: 22.95 MB / 1.343 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02797/0.4116, allocations: 17.83 MB / 1.361 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003244/0.4148, allocations: 150.8 kB / 1.361 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01119/0.426, allocations: 4.223 MB / 1.365 GB, free: 5.996 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.4379, allocations: 3.577 MB / 1.368 GB, free: 2.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004039/0.442, allocations: 1.309 MB / 1.37 GB, free: 1.102 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009501/0.4515, allocations: 5.796 MB / 1.375 GB, free: 11.29 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005387/0.4568, allocations: 2.796 MB / 1.378 GB, free: 8.418 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004706/0.4615, allocations: 2.511 MB / 1.381 GB, free: 5.898 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004827/0.4664, allocations: 2.51 MB / 1.383 GB, free: 3.379 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001322/0.4677, allocations: 372 kB / 1.383 GB, free: 3.016 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.4707, allocations: 1.057 MB / 1.384 GB, free: 1.957 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.4726, allocations: 1.23 MB / 1.386 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003924/0.4765, allocations: 1.99 MB / 1.388 GB, free: 14.72 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00831/0.4848, allocations: 5.191 MB / 1.393 GB, free: 9.512 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4848, allocations: 0 / 1.393 GB, free: 9.512 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4848, allocations: 0 / 1.393 GB, free: 9.512 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001988/0.485, allocations: 4 kB / 1.393 GB, free: 9.508 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.013/0.498, allocations: 4.73 MB / 1.397 GB, free: 4.66 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4981, allocations: 15.98 kB / 1.397 GB, free: 4.645 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008301/0.4989, allocations: 362.3 kB / 1.398 GB, free: 4.281 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.5155, allocations: 3.279 MB / 1.401 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/0.5207, allocations: 2.238 MB / 1.403 GB, free: 14.69 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005042/0.5212, allocations: 474 kB / 1.403 GB, free: 14.16 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009736/0.5222, allocations: 232 kB / 1.404 GB, free: 13.94 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.5353, allocations: 4.822 MB / 1.408 GB, free: 8.969 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.138e-05/0.5354, allocations: 0 / 1.408 GB, free: 8.969 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006079/0.536, allocations: 112 kB / 1.408 GB, free: 8.859 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002225/0.5362, allocations: 168.8 kB / 1.409 GB, free: 8.691 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.551, allocations: 5.198 MB / 1.414 GB, free: 3.477 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/0.5755, allocations: 14.41 MB / 1.428 GB, free: 3.902 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.586, allocations: 3.265 MB / 1.431 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004013/0.5901, allocations: 1.362 MB / 1.432 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.5902, allocations: 29.28 kB / 1.432 GB, free: 15.22 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004841/0.5951, allocations: 1.795 MB / 1.434 GB, free: 13.36 MB / 1.139 GB Notification: Performance of pre-optimization done (n=163): time 4.879e-06/0.5951, allocations: 0 / 1.434 GB, free: 13.36 MB / 1.139 GB Notification: Performance of matching and sorting (n=250): time 0.1351/0.7302, allocations: 28.22 MB / 1.462 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000285/0.7304, allocations: 0.4967 MB / 1.462 GB, free: 328 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003824/0.7343, allocations: 2.3 MB / 1.464 GB, free: 14.01 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004855/0.7347, allocations: 81.64 kB / 1.464 GB, free: 13.92 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.7361, allocations: 1.444 MB / 1.466 GB, free: 12.46 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.7372, allocations: 0.8714 MB / 1.467 GB, free: 11.59 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.7384, allocations: 416.5 kB / 1.467 GB, free: 11.17 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7386, allocations: 305.1 kB / 1.467 GB, free: 10.87 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005775/0.7443, allocations: 1.929 MB / 1.469 GB, free: 8.938 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006201/0.7505, allocations: 2.235 MB / 1.471 GB, free: 6.617 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/0.7621, allocations: 4.154 MB / 1.475 GB, free: 2.328 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.7622, allocations: 0 / 1.475 GB, free: 2.328 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02081/0.783, allocations: 6.486 MB / 1.482 GB, free: 11.75 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.7831, allocations: 148.5 kB / 1.482 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.7831, allocations: 7.984 kB / 1.482 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.7941, allocations: 2.93 MB / 1.485 GB, free: 8.625 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/0.7971, allocations: 483.2 kB / 1.485 GB, free: 8.152 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04358/0.8407, allocations: 18.85 MB / 1.504 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004169/0.8448, allocations: 319.6 kB / 1.504 GB, free: 4.738 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004767/0.8453, allocations: 91.97 kB / 1.504 GB, free: 4.648 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.001809/0.8471, allocations: 0.7105 MB / 1.505 GB, free: 3.93 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009082/0.848, allocations: 341.9 kB / 1.505 GB, free: 3.594 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.8491, allocations: 384.1 kB / 1.505 GB, free: 3.211 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.8491, allocations: 24 kB / 1.506 GB, free: 3.188 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.284e-05/0.8491, allocations: 12 kB / 1.506 GB, free: 3.176 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.603e-05/0.8492, allocations: 11.95 kB / 1.506 GB, free: 3.164 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/0.8549, allocations: 3.632 MB / 1.509 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.466e-05/0.8549, allocations: 0 / 1.509 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/0.8576, allocations: 415.3 kB / 1.509 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01047/0.868, allocations: 2.872 MB / 1.512 GB, free: 12.19 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004717/0.8685, allocations: 51.97 kB / 1.512 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0425/0.911, allocations: 18.64 MB / 1.531 GB, free: 9.195 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.911, allocations: 3.984 kB / 1.531 GB, free: 9.191 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01974/0.9307, allocations: 6.112 MB / 1.537 GB, free: 3.047 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/0.9327, allocations: 0.7134 MB / 1.537 GB, free: 2.312 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009278/0.9336, allocations: 47.94 kB / 1.537 GB, free: 2.266 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003709/0.9373, allocations: 315.6 kB / 1.538 GB, free: 1.957 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001345/0.9386, allocations: 350.7 kB / 1.538 GB, free: 1.613 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003072/0.9389, allocations: 67.97 kB / 1.538 GB, free: 1.547 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002881/0.9418, allocations: 1.536 MB / 1.539 GB, free: 12 kB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.9418, allocations: 0 / 1.539 GB, free: 12 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.003518/0.9453, allocations: 1.051 MB / 1.54 GB, free: 14.96 MB / 1.248 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.01947/0.9648, allocations: 6.737 MB / 1.547 GB, free: 8.188 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02499/0.9898, allocations: 6.325 MB / 1.553 GB, free: 1.77 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.9898, allocations: 128 / 1.553 GB, free: 1.77 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01853/1.008, allocations: 3.927 MB / 1.557 GB, free: 13.81 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005992/1.014, allocations: 1.146 MB / 1.558 GB, free: 12.71 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07989/1.094, allocations: 31.8 MB / 1.589 GB, free: 12.43 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002868/1.097, allocations: 2.231 MB / 1.591 GB, free: 10.17 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002572/1.1, allocations: 0.5019 MB / 1.592 GB, free: 9.66 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002263/1.102, allocations: 1.339 MB / 1.593 GB, free: 8.32 MB / 1.295 GB Notification: Performance of SimCode: time 1.222e-06/1.102, allocations: 0 / 1.593 GB, free: 8.32 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7748/1.877, allocations: 103.3 MB / 1.694 GB, free: 203.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.12/21, allocations: 2.75 kB / 1.694 GB, free: 203.1 MB / 1.295 GB " [Timeout remaining time 279] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv","/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] "Error: Could not read variable Sloads in file Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable Sloads from file Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! Error: Could not read variable E.S[1] in file Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable E.S[1] from file Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 27.83162190183066]