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.001872/0.001872, allocations: 103.8 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.002314/0.002314, allocations: 210.4 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.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.761/2.761, allocations: 476.7 MB / 0.7672 GB, free: 5.195 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.003468/0.003468, allocations: 67.91 kB / 1.112 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8725/0.876, allocations: 169.9 MB / 1.278 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02817/0.9042, allocations: 22.95 MB / 1.301 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02776/0.9319, allocations: 17.82 MB / 1.318 GB, free: 4.441 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003264/0.9352, allocations: 174.6 kB / 1.318 GB, free: 4.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01146/0.9467, allocations: 4.211 MB / 1.322 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.9583, allocations: 3.582 MB / 1.326 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.9624, allocations: 1.3 MB / 1.327 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.9726, allocations: 5.792 MB / 1.333 GB, free: 5.352 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005627/0.9782, allocations: 2.796 MB / 1.336 GB, free: 2.477 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006302/0.9845, allocations: 2.816 MB / 1.338 GB, free: 15.65 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005396/0.9899, allocations: 2.315 MB / 1.341 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.9915, allocations: 368 kB / 1.341 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.9946, allocations: 1.049 MB / 1.342 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002064/0.9967, allocations: 1.215 MB / 1.343 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004068/1.001, allocations: 1.982 MB / 1.345 GB, free: 8.707 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008784/1.01, allocations: 5.164 MB / 1.35 GB, free: 3.523 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/1.01, allocations: 0 / 1.35 GB, free: 3.523 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.144e-06/1.01, allocations: 4 kB / 1.35 GB, free: 3.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001922/1.01, allocations: 0 / 1.35 GB, free: 3.52 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.01295/1.023, allocations: 4.714 MB / 1.355 GB, free: 14.69 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.023, allocations: 8.031 kB / 1.355 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001372/1.024, allocations: 362.3 kB / 1.355 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/1.041, allocations: 3.275 MB / 1.358 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/1.047, allocations: 2.277 MB / 1.36 GB, free: 8.691 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005187/1.047, allocations: 474 kB / 1.361 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/1.048, allocations: 232 kB / 1.361 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/1.062, allocations: 4.71 MB / 1.366 GB, free: 3.133 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.218e-05/1.062, allocations: 7.938 kB / 1.366 GB, free: 3.125 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004117/1.062, allocations: 95.98 kB / 1.366 GB, free: 3.031 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002197/1.063, allocations: 172.8 kB / 1.366 GB, free: 2.859 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/1.078, allocations: 5.195 MB / 1.371 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/1.103, allocations: 14.41 MB / 1.385 GB, free: 14.07 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/1.114, allocations: 3.27 MB / 1.388 GB, free: 10.79 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004047/1.118, allocations: 1.373 MB / 1.39 GB, free: 9.41 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/1.118, allocations: 29.28 kB / 1.39 GB, free: 9.379 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004686/1.123, allocations: 1.786 MB / 1.391 GB, free: 7.527 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 4.007e-06/1.123, allocations: 0 / 1.391 GB, free: 7.527 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1346/1.258, allocations: 28.21 MB / 1.419 GB, free: 11.1 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002864/1.258, allocations: 0.4889 MB / 1.419 GB, free: 10.5 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/1.262, allocations: 2.3 MB / 1.422 GB, free: 8.191 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004048/1.262, allocations: 77.69 kB / 1.422 GB, free: 8.109 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.264, allocations: 1.456 MB / 1.423 GB, free: 6.641 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.265, allocations: 0.8636 MB / 1.424 GB, free: 5.77 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/1.266, allocations: 412.5 kB / 1.424 GB, free: 5.359 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.266, allocations: 313.1 kB / 1.425 GB, free: 5.051 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00583/1.272, allocations: 1.917 MB / 1.427 GB, free: 3.129 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006187/1.278, allocations: 2.235 MB / 1.429 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/1.29, allocations: 4.157 MB / 1.433 GB, free: 12.52 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/1.29, allocations: 4 kB / 1.433 GB, free: 12.51 MB / 1.139 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02121/1.311, allocations: 6.475 MB / 1.439 GB, free: 5.941 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/1.312, allocations: 148.5 kB / 1.439 GB, free: 5.766 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/1.312, allocations: 4 kB / 1.439 GB, free: 5.762 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/1.323, allocations: 2.934 MB / 1.442 GB, free: 2.824 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003121/1.326, allocations: 495.2 kB / 1.443 GB, free: 2.34 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04569/1.372, allocations: 18.86 MB / 1.461 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/1.376, allocations: 327.5 kB / 1.461 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005351/1.377, allocations: 83.98 kB / 1.462 GB, free: 14.83 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.001933/1.378, allocations: 0.7144 MB / 1.462 GB, free: 14.1 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009898/1.379, allocations: 345.9 kB / 1.463 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/1.381, allocations: 384.1 kB / 1.463 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/1.381, allocations: 24 kB / 1.463 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.852e-05/1.381, allocations: 8 kB / 1.463 GB, free: 13.35 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/1.381, allocations: 11.95 kB / 1.463 GB, free: 13.34 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006332/1.387, allocations: 3.632 MB / 1.466 GB, free: 9.652 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-05/1.387, allocations: 0 / 1.466 GB, free: 9.652 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/1.39, allocations: 415.4 kB / 1.467 GB, free: 9.246 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01053/1.4, allocations: 2.872 MB / 1.47 GB, free: 6.359 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004508/1.401, allocations: 47.97 kB / 1.47 GB, free: 6.312 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04391/1.445, allocations: 18.65 MB / 1.488 GB, free: 3.371 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/1.445, allocations: 4 kB / 1.488 GB, free: 3.367 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01998/1.465, allocations: 6.112 MB / 1.494 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/1.467, allocations: 0.7134 MB / 1.495 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.468, allocations: 51.92 kB / 1.495 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003715/1.471, allocations: 316.1 kB / 1.495 GB, free: 12.14 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00135/1.473, allocations: 350.7 kB / 1.495 GB, free: 11.79 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003581/1.473, allocations: 67.97 kB / 1.495 GB, free: 11.72 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002996/1.476, allocations: 1.536 MB / 1.497 GB, free: 10.19 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.476, allocations: 0 / 1.497 GB, free: 10.19 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003959/1.48, allocations: 1.043 MB / 1.498 GB, free: 9.145 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.0207/1.501, allocations: 6.746 MB / 1.504 GB, free: 2.359 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02513/1.526, allocations: 6.313 MB / 1.511 GB, free: 11.95 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.526, allocations: 4 kB / 1.511 GB, free: 11.95 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.01883/1.545, allocations: 3.927 MB / 1.514 GB, free: 7.988 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006232/1.551, allocations: 1.132 MB / 1.516 GB, free: 6.895 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0864/1.637, allocations: 31.82 MB / 1.547 GB, free: 6.609 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002963/1.64, allocations: 2.234 MB / 1.549 GB, free: 4.34 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002531/1.643, allocations: 0.5058 MB / 1.549 GB, free: 3.828 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002191/1.645, allocations: 1.339 MB / 1.551 GB, free: 2.488 MB / 1.248 GB Notification: Performance of SimCode: time 1.312e-06/1.645, allocations: 0 / 1.551 GB, free: 2.488 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8002/2.445, allocations: 103.3 MB / 1.652 GB, free: 280.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.6/22.04, allocations: 11.17 kB / 1.652 GB, free: 280.4 MB / 1.295 GB " [Timeout remaining time 278] (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: 28.276724921073765]