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.001683/0.001683, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002152/0.002152, allocations: 215.5 kB / 22.25 MB, free: 5.113 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 8.016 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.659/2.659, allocations: 476.7 MB / 0.7707 GB, free: 4.242 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.001975/0.001975, allocations: 65.8 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.297, allocations: 169.9 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02734/0.3243, allocations: 23.5 MB / 1.306 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02722/0.3515, allocations: 18.17 MB / 1.324 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004593/0.3561, allocations: 170.7 kB / 1.324 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01144/0.3676, allocations: 4.357 MB / 1.329 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.3776, allocations: 3.599 MB / 1.332 GB, free: 9.762 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.3811, allocations: 1.326 MB / 1.333 GB, free: 8.438 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008798/0.3899, allocations: 5.789 MB / 1.339 GB, free: 2.629 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004868/0.3948, allocations: 2.877 MB / 1.342 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005158/0.3999, allocations: 2.831 MB / 1.345 GB, free: 12.83 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004389/0.4043, allocations: 2.307 MB / 1.347 GB, free: 10.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.4053, allocations: 364 kB / 1.347 GB, free: 10.16 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.4077, allocations: 1.053 MB / 1.348 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.409, allocations: 1.222 MB / 1.349 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.4117, allocations: 1.982 MB / 1.351 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00716/0.4189, allocations: 5.152 MB / 1.356 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.4189, allocations: 4 kB / 1.356 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4189, allocations: 0 / 1.356 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001893/0.4191, allocations: 0 / 1.356 GB, free: 0.7109 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.01095/0.43, allocations: 4.631 MB / 1.361 GB, free: 11.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.43, allocations: 8.031 kB / 1.361 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004969/0.4305, allocations: 366.3 kB / 1.361 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/0.4459, allocations: 3.283 MB / 1.364 GB, free: 8.312 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00514/0.4511, allocations: 2.155 MB / 1.367 GB, free: 6.086 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/0.4515, allocations: 478 kB / 1.367 GB, free: 5.555 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005405/0.452, allocations: 236 kB / 1.367 GB, free: 5.324 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.4647, allocations: 4.706 MB / 1.372 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.2e-05/0.4648, allocations: 0 / 1.372 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003888/0.4651, allocations: 108 kB / 1.372 GB, free: 428 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002664/0.4654, allocations: 172.8 kB / 1.372 GB, free: 252 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.48, allocations: 5.194 MB / 1.377 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02744/0.5075, allocations: 14.35 MB / 1.391 GB, free: 11.51 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009884/0.5174, allocations: 3.265 MB / 1.394 GB, free: 8.238 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003731/0.5211, allocations: 1.369 MB / 1.396 GB, free: 6.867 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.5212, allocations: 21.28 kB / 1.396 GB, free: 6.848 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004363/0.5256, allocations: 1.794 MB / 1.397 GB, free: 4.984 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 4.549e-06/0.5256, allocations: 0 / 1.397 GB, free: 4.984 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1245/0.6501, allocations: 27.53 MB / 1.424 GB, free: 9.398 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000285/0.6504, allocations: 0.4889 MB / 1.425 GB, free: 8.801 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.6537, allocations: 2.296 MB / 1.427 GB, free: 6.492 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004312/0.6542, allocations: 77.7 kB / 1.427 GB, free: 6.41 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.6555, allocations: 1.456 MB / 1.429 GB, free: 4.941 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009444/0.6564, allocations: 0.8675 MB / 1.429 GB, free: 4.066 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008274/0.6573, allocations: 416.5 kB / 1.43 GB, free: 3.652 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6574, allocations: 301.1 kB / 1.43 GB, free: 3.355 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005103/0.6625, allocations: 1.929 MB / 1.432 GB, free: 1.422 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005406/0.6679, allocations: 2.235 MB / 1.434 GB, free: 15.1 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.6784, allocations: 4.158 MB / 1.438 GB, free: 10.81 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.6784, allocations: 4 kB / 1.438 GB, free: 10.8 MB / 1.139 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01873/0.6971, allocations: 6.486 MB / 1.445 GB, free: 4.223 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.6972, allocations: 142.8 kB / 1.445 GB, free: 4.055 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.6973, allocations: 8.344 kB / 1.445 GB, free: 4.047 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.7078, allocations: 2.928 MB / 1.448 GB, free: 1.117 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.7107, allocations: 491.2 kB / 1.448 GB, free: 0.6367 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04219/0.7529, allocations: 18.65 MB / 1.466 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00395/0.7569, allocations: 319.6 kB / 1.467 GB, free: 13.46 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005359/0.7574, allocations: 88.16 kB / 1.467 GB, free: 13.38 MB / 1.17 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.002013/0.7594, allocations: 0.7113 MB / 1.467 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/0.7604, allocations: 349.8 kB / 1.468 GB, free: 12.31 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.7616, allocations: 384.1 kB / 1.468 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/0.7616, allocations: 28 kB / 1.468 GB, free: 11.9 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.185e-05/0.7616, allocations: 12 kB / 1.468 GB, free: 11.89 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/0.7617, allocations: 11.95 kB / 1.468 GB, free: 11.88 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006042/0.7677, allocations: 3.607 MB / 1.472 GB, free: 8.227 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-05/0.7678, allocations: 4 kB / 1.472 GB, free: 8.223 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002642/0.7704, allocations: 415.3 kB / 1.472 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01038/0.7808, allocations: 2.875 MB / 1.475 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005077/0.7813, allocations: 51.97 kB / 1.475 GB, free: 4.883 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04078/0.8221, allocations: 18.41 MB / 1.493 GB, free: 2.223 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8221, allocations: 0 / 1.493 GB, free: 2.223 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/0.8402, allocations: 6.116 MB / 1.499 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002371/0.8425, allocations: 0.6304 MB / 1.499 GB, free: 11.44 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008564/0.8434, allocations: 47.94 kB / 1.499 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003511/0.8469, allocations: 319.6 kB / 1.5 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001202/0.8481, allocations: 362.5 kB / 1.5 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002334/0.8483, allocations: 79.97 kB / 1.5 GB, free: 10.65 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002424/0.8508, allocations: 1.528 MB / 1.502 GB, free: 9.121 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8508, allocations: 0 / 1.502 GB, free: 9.121 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00326/0.854, allocations: 1.043 MB / 1.503 GB, free: 8.078 MB / 1.201 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.01918/0.8732, allocations: 6.741 MB / 1.509 GB, free: 1.297 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02368/0.8969, allocations: 6.316 MB / 1.515 GB, free: 10.88 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.8969, allocations: 4 kB / 1.515 GB, free: 10.88 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.01691/0.9138, allocations: 3.928 MB / 1.519 GB, free: 6.926 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005875/0.9197, allocations: 1.134 MB / 1.52 GB, free: 5.836 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08226/1.002, allocations: 31.82 MB / 1.551 GB, free: 5.535 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002909/1.005, allocations: 2.231 MB / 1.554 GB, free: 3.27 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002506/1.007, allocations: 0.5097 MB / 1.554 GB, free: 2.754 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002249/1.01, allocations: 1.335 MB / 1.555 GB, free: 1.418 MB / 1.248 GB Notification: Performance of SimCode: time 1.172e-06/1.01, allocations: 0 / 1.555 GB, free: 1.418 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8067/1.816, allocations: 105.8 MB / 1.659 GB, free: 273.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.9/22.72, allocations: 10.23 kB / 1.659 GB, free: 273.7 MB / 1.295 GB " [Timeout remaining time 277] (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: 29.350686028999917]