Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001239/0.001239, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001402/0.001402, allocations: 217 kB / 22.25 MB, free: 5.082 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.138/3.138, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_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.001952/0.001952, allocations: 66.67 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 180.2 MB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02775/0.3708, allocations: 23.51 MB / 1.376 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02649/0.3973, allocations: 18.18 MB / 1.394 GB, free: 14.59 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003184/0.4005, allocations: 174.6 kB / 1.394 GB, free: 14.42 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.4116, allocations: 4.345 MB / 1.398 GB, free: 10.07 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.4231, allocations: 3.594 MB / 1.402 GB, free: 6.465 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.4266, allocations: 1.319 MB / 1.403 GB, free: 5.148 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008727/0.4353, allocations: 5.793 MB / 1.408 GB, free: 15.34 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00447/0.4398, allocations: 2.877 MB / 1.411 GB, free: 12.38 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005227/0.445, allocations: 2.824 MB / 1.414 GB, free: 9.551 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.4495, allocations: 2.319 MB / 1.416 GB, free: 7.223 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0009145/0.4505, allocations: 364 kB / 1.417 GB, free: 6.867 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.4529, allocations: 1.053 MB / 1.418 GB, free: 5.812 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.4544, allocations: 1.215 MB / 1.419 GB, free: 4.594 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002666/0.457, allocations: 1.986 MB / 1.421 GB, free: 2.598 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007003/0.464, allocations: 5.152 MB / 1.426 GB, free: 13.43 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.464, allocations: 0 / 1.426 GB, free: 13.43 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4641, allocations: 8 kB / 1.426 GB, free: 13.42 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001748/0.4642, allocations: 0 / 1.426 GB, free: 13.42 MB / 1.123 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.01259/0.4768, allocations: 4.631 MB / 1.43 GB, free: 8.688 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4769, allocations: 12.03 kB / 1.43 GB, free: 8.676 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006093/0.4775, allocations: 362.3 kB / 1.431 GB, free: 8.312 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01551/0.493, allocations: 3.283 MB / 1.434 GB, free: 5.023 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/0.4984, allocations: 2.159 MB / 1.436 GB, free: 2.793 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004691/0.4989, allocations: 470 kB / 1.436 GB, free: 2.27 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000645/0.4995, allocations: 232 kB / 1.437 GB, free: 2.043 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.5107, allocations: 4.714 MB / 1.441 GB, free: 13.23 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-05/0.5107, allocations: 3.938 kB / 1.441 GB, free: 13.23 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003144/0.511, allocations: 99.98 kB / 1.441 GB, free: 13.13 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/0.5112, allocations: 172.8 kB / 1.442 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/0.5247, allocations: 5.198 MB / 1.447 GB, free: 7.746 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02408/0.5488, allocations: 14.34 MB / 1.461 GB, free: 8.227 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009796/0.5586, allocations: 3.259 MB / 1.464 GB, free: 4.953 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003634/0.5622, allocations: 1.373 MB / 1.465 GB, free: 3.578 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.5624, allocations: 21.3 kB / 1.465 GB, free: 3.559 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004466/0.5668, allocations: 1.798 MB / 1.467 GB, free: 1.691 MB / 1.154 GB Notification: Performance of pre-optimization done (n=163): time 4.689e-06/0.5668, allocations: 0 / 1.467 GB, free: 1.691 MB / 1.154 GB Notification: Performance of matching and sorting (n=250): time 0.1213/0.6881, allocations: 27.54 MB / 1.494 GB, free: 6.09 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003374/0.6884, allocations: 0.4928 MB / 1.494 GB, free: 5.488 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/0.6919, allocations: 2.296 MB / 1.497 GB, free: 3.18 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004233/0.6924, allocations: 77.7 kB / 1.497 GB, free: 3.098 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/0.6938, allocations: 1.452 MB / 1.498 GB, free: 1.633 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.6948, allocations: 0.8637 MB / 1.499 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008423/0.6957, allocations: 416.5 kB / 1.499 GB, free: 356 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6958, allocations: 305.1 kB / 1.5 GB, free: 48 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005085/0.7009, allocations: 1.933 MB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005582/0.7065, allocations: 2.227 MB / 1.504 GB, free: 11.8 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/0.7173, allocations: 4.165 MB / 1.508 GB, free: 7.496 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.7173, allocations: 0 / 1.508 GB, free: 7.496 MB / 1.201 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01872/0.736, allocations: 6.478 MB / 1.514 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.7361, allocations: 148.5 kB / 1.514 GB, free: 0.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.7362, allocations: 4 kB / 1.514 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.7462, allocations: 2.928 MB / 1.517 GB, free: 13.81 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002766/0.749, allocations: 491.2 kB / 1.518 GB, free: 13.33 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04001/0.789, allocations: 18.66 MB / 1.536 GB, free: 10.47 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/0.7928, allocations: 319.6 kB / 1.536 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/0.7931, allocations: 91.95 kB / 1.536 GB, free: 10.07 MB / 1.232 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.001491/0.7946, allocations: 0.7218 MB / 1.537 GB, free: 9.336 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000628/0.7952, allocations: 349.8 kB / 1.537 GB, free: 8.992 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007794/0.796, allocations: 384.1 kB / 1.538 GB, free: 8.609 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.796, allocations: 24 kB / 1.538 GB, free: 8.586 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-05/0.7961, allocations: 8 kB / 1.538 GB, free: 8.578 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.7961, allocations: 11.95 kB / 1.538 GB, free: 8.566 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/0.8009, allocations: 3.592 MB / 1.541 GB, free: 4.926 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/0.8009, allocations: 0 / 1.541 GB, free: 4.926 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/0.8033, allocations: 419.4 kB / 1.541 GB, free: 4.516 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009805/0.8131, allocations: 2.871 MB / 1.544 GB, free: 1.641 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004262/0.8135, allocations: 47.97 kB / 1.544 GB, free: 1.594 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03968/0.8532, allocations: 18.43 MB / 1.562 GB, free: 14.92 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8532, allocations: 0 / 1.562 GB, free: 14.92 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/0.8709, allocations: 6.116 MB / 1.568 GB, free: 8.77 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002179/0.8731, allocations: 0.6342 MB / 1.569 GB, free: 8.133 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005802/0.8737, allocations: 48.5 kB / 1.569 GB, free: 8.086 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003062/0.8768, allocations: 315.6 kB / 1.569 GB, free: 7.777 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001201/0.878, allocations: 362.5 kB / 1.57 GB, free: 7.422 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.8782, allocations: 71.95 kB / 1.57 GB, free: 7.352 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002343/0.8805, allocations: 1.536 MB / 1.571 GB, free: 5.816 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.8805, allocations: 0 / 1.571 GB, free: 5.816 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002943/0.8835, allocations: 1.047 MB / 1.572 GB, free: 4.77 MB / 1.264 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.01795/0.9014, allocations: 6.736 MB / 1.579 GB, free: 14 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02401/0.9254, allocations: 6.321 MB / 1.585 GB, free: 7.578 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.9254, allocations: 0 / 1.585 GB, free: 7.578 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0166/0.942, allocations: 3.927 MB / 1.589 GB, free: 3.625 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004681/0.9467, allocations: 1.138 MB / 1.59 GB, free: 2.52 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7663/1.713, allocations: 31.82 MB / 1.621 GB, free: 233.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/1.715, allocations: 2.23 MB / 1.623 GB, free: 232.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002194/1.717, allocations: 0.5017 MB / 1.624 GB, free: 232.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/1.719, allocations: 1.341 MB / 1.625 GB, free: 231.7 MB / 1.295 GB Notification: Performance of SimCode: time 7.21e-07/1.719, allocations: 0 / 1.625 GB, free: 231.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1635/1.883, allocations: 105.8 MB / 1.728 GB, free: 155.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.21/23.09, allocations: 2.656 kB / 1.728 GB, free: 155.1 MB / 1.295 GB " [Timeout remaining time 277] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv --start-time 0 --stop-time 4000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable Sloads from file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! Error: Could not read variable E.S[1] in file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv. Warning: Get data of variable E.S[1] from file Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 29.8989984750001]