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.001674/0.001674, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001563/0.001563, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.773 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.35/3.35, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] 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.002094/0.002094, allocations: 71.98 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3481, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.04054/0.3887, allocations: 21.27 MB / 1.384 GB, free: 8.676 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03946/0.4281, allocations: 16.85 MB / 1.401 GB, free: 7.773 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004176/0.4323, allocations: 170.6 kB / 1.401 GB, free: 7.605 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01603/0.4483, allocations: 4.156 MB / 1.405 GB, free: 3.441 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01633/0.4647, allocations: 3.588 MB / 1.408 GB, free: 15.84 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005229/0.4699, allocations: 1.312 MB / 1.41 GB, free: 14.54 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01282/0.4827, allocations: 5.793 MB / 1.415 GB, free: 8.719 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008477/0.4912, allocations: 2.834 MB / 1.418 GB, free: 5.809 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008537/0.4997, allocations: 2.82 MB / 1.421 GB, free: 2.98 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006091/0.5058, allocations: 2.147 MB / 1.423 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001774/0.5076, allocations: 364 kB / 1.423 GB, free: 480 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004073/0.5117, allocations: 0.9516 MB / 1.424 GB, free: 15.52 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00269/0.5144, allocations: 1.215 MB / 1.425 GB, free: 14.3 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004824/0.5192, allocations: 1.629 MB / 1.427 GB, free: 12.66 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.5313, allocations: 5.199 MB / 1.432 GB, free: 7.441 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.5313, allocations: 4 kB / 1.432 GB, free: 7.438 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5313, allocations: 0 / 1.432 GB, free: 7.438 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001978/0.5315, allocations: 0 / 1.432 GB, free: 7.438 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.0175/0.549, allocations: 4.635 MB / 1.437 GB, free: 2.703 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.5491, allocations: 8.031 kB / 1.437 GB, free: 2.695 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001332/0.5504, allocations: 366.3 kB / 1.437 GB, free: 2.328 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02426/0.5747, allocations: 3.279 MB / 1.44 GB, free: 15.04 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00844/0.5831, allocations: 2.162 MB / 1.442 GB, free: 12.8 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007495/0.5839, allocations: 466 kB / 1.443 GB, free: 12.29 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/0.5851, allocations: 236 kB / 1.443 GB, free: 12.05 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/0.5998, allocations: 5.367 MB / 1.448 GB, free: 6.434 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.399e-05/0.5999, allocations: 4 kB / 1.448 GB, free: 6.43 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007755/0.6006, allocations: 99.98 kB / 1.448 GB, free: 6.332 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002539/0.6009, allocations: 176.7 kB / 1.448 GB, free: 6.156 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01571/0.6166, allocations: 5.191 MB / 1.454 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02527/0.6419, allocations: 9.174 MB / 1.462 GB, free: 7.645 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.6529, allocations: 3.25 MB / 1.466 GB, free: 4.387 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004103/0.657, allocations: 1.369 MB / 1.467 GB, free: 3.016 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.6573, allocations: 21.31 kB / 1.467 GB, free: 2.996 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005498/0.6628, allocations: 2.455 MB / 1.469 GB, free: 320 kB / 1.154 GB Notification: Performance of pre-optimization done (n=163): time 4.859e-06/0.6628, allocations: 0 / 1.469 GB, free: 320 kB / 1.154 GB Notification: Performance of matching and sorting (n=250): time 0.1338/0.7966, allocations: 27.53 MB / 1.496 GB, free: 4.727 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003305/0.7969, allocations: 0.4889 MB / 1.497 GB, free: 4.129 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004187/0.8011, allocations: 2.324 MB / 1.499 GB, free: 1.793 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004501/0.8015, allocations: 73.7 kB / 1.499 GB, free: 1.715 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001571/0.8031, allocations: 1.46 MB / 1.501 GB, free: 248 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/0.8044, allocations: 0.8598 MB / 1.501 GB, free: 15.38 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/0.8057, allocations: 420.5 kB / 1.502 GB, free: 14.96 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8058, allocations: 305.1 kB / 1.502 GB, free: 14.66 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005967/0.8118, allocations: 2.062 MB / 1.504 GB, free: 12.56 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006587/0.8184, allocations: 2.77 MB / 1.507 GB, free: 9.574 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/0.8302, allocations: 4.165 MB / 1.511 GB, free: 5.273 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.8302, allocations: 4 kB / 1.511 GB, free: 5.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02065/0.8508, allocations: 6.616 MB / 1.517 GB, free: 14.53 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.851, allocations: 152.5 kB / 1.517 GB, free: 14.35 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.851, allocations: 8 kB / 1.517 GB, free: 14.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.8619, allocations: 2.917 MB / 1.52 GB, free: 11.42 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/0.8649, allocations: 491.2 kB / 1.521 GB, free: 10.94 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04487/0.9098, allocations: 18.3 MB / 1.539 GB, free: 8.449 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/0.9141, allocations: 319.6 kB / 1.539 GB, free: 8.137 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004836/0.9146, allocations: 91.97 kB / 1.539 GB, free: 8.047 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.001862/0.9164, allocations: 0.7121 MB / 1.54 GB, free: 7.328 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008721/0.9173, allocations: 349.8 kB / 1.54 GB, free: 6.984 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009819/0.9183, allocations: 388.1 kB / 1.54 GB, free: 6.598 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.9183, allocations: 24 kB / 1.54 GB, free: 6.574 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.22e-05/0.9184, allocations: 8 kB / 1.54 GB, free: 6.566 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.9184, allocations: 11.95 kB / 1.54 GB, free: 6.555 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005367/0.9238, allocations: 3.035 MB / 1.543 GB, free: 3.473 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.9238, allocations: 0 / 1.543 GB, free: 3.473 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/0.9263, allocations: 419.4 kB / 1.544 GB, free: 3.062 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01003/0.9363, allocations: 2.867 MB / 1.547 GB, free: 184 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003479/0.9367, allocations: 47.97 kB / 1.547 GB, free: 136 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04328/0.9799, allocations: 18.07 MB / 1.564 GB, free: 13.83 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.9799, allocations: 0 / 1.564 GB, free: 13.83 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/0.9995, allocations: 6.116 MB / 1.57 GB, free: 7.684 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/1.002, allocations: 0.6381 MB / 1.571 GB, free: 7.043 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009127/1.003, allocations: 47.94 kB / 1.571 GB, free: 6.996 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003682/1.007, allocations: 315.6 kB / 1.571 GB, free: 6.688 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001301/1.008, allocations: 362.5 kB / 1.572 GB, free: 6.332 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003057/1.008, allocations: 71.97 kB / 1.572 GB, free: 6.262 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002905/1.011, allocations: 1.532 MB / 1.573 GB, free: 4.73 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/1.011, allocations: 0 / 1.573 GB, free: 4.73 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003276/1.014, allocations: 1.051 MB / 1.574 GB, free: 3.68 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.01964/1.034, allocations: 6.745 MB / 1.581 GB, free: 12.89 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02462/1.059, allocations: 6.453 MB / 1.587 GB, free: 6.309 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.059, allocations: 5.312 kB / 1.587 GB, free: 6.305 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0184/1.077, allocations: 3.93 MB / 1.591 GB, free: 2.348 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005662/1.083, allocations: 1.136 MB / 1.592 GB, free: 1.25 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7319/1.815, allocations: 32.37 MB / 1.624 GB, free: 225.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/1.817, allocations: 1.684 MB / 1.625 GB, free: 225.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002212/1.819, allocations: 0.5035 MB / 1.626 GB, free: 225.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/1.82, allocations: 1.336 MB / 1.627 GB, free: 224.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.112e-06/1.82, allocations: 0 / 1.627 GB, free: 224.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1945/2.015, allocations: 107.2 MB / 1.732 GB, free: 144 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.45/20.46, allocations: 3.938 kB / 1.732 GB, free: 144 MB / 1.295 GB " [Timeout remaining time 279] (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: 27.626374016981572]