Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.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.0008381/0.0008381, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008409/0.0008409, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8864/0.8864, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.655/1.655, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 4 kB / 0.9505 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.624e-05, allocations: 5.375 kB / 0.9505 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002285/0.002311, allocations: 1.686 MB / 0.9521 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.003951, allocations: 1.726 MB / 0.9538 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.004027, allocations: 0 / 0.9538 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.004291, allocations: 39.7 kB / 0.9539 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.004594, allocations: 119.3 kB / 0.954 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.00476, allocations: 95.58 kB / 0.9541 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.004931, allocations: 143.5 kB / 0.9542 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.00498, allocations: 9.641 kB / 0.9542 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.005165, allocations: 79.75 kB / 0.9543 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.005283, allocations: 55.75 kB / 0.9543 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.005302, allocations: 8 kB / 0.9544 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.005444, allocations: 103.8 kB / 0.9545 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.005502, allocations: 31.89 kB / 0.9545 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.005549, allocations: 27.88 kB / 0.9545 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.006008, allocations: 215.3 kB / 0.9547 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.006012, allocations: 7.984 kB / 0.9547 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.244e-06/0.006014, allocations: 0 / 0.9547 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.006021, allocations: 0 / 0.9547 GB, free: 14.02 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005386/0.006559, allocations: 385.2 kB / 0.9551 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.0066, allocations: 11.97 kB / 0.9551 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.006634, allocations: 42.73 kB / 0.9551 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.00676, allocations: 20.84 kB / 0.9552 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.00701, allocations: 170.3 kB / 0.9553 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.007021, allocations: 384 / 0.9553 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.007033, allocations: 4.375 kB / 0.9553 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.007215, allocations: 131.1 kB / 0.9555 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.007223, allocations: 3.938 kB / 0.9555 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.007234, allocations: 4 kB / 0.9555 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007239, allocations: 4 kB / 0.9555 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.007353, allocations: 47.95 kB / 0.9555 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.007532, allocations: 182.5 kB / 0.9557 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.007716, allocations: 115.8 kB / 0.9558 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.007784, allocations: 50.48 kB / 0.9558 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.0078, allocations: 4 kB / 0.9558 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.007952, allocations: 121.8 kB / 0.956 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.007954, allocations: 0 / 0.956 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0003239/0.008278, allocations: 177.4 kB / 0.9561 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.008335, allocations: 132.5 kB / 0.9563 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.008487, allocations: 199.8 kB / 0.9564 GB, free: 12 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.008503, allocations: 29.7 kB / 0.9565 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.008552, allocations: 108.1 kB / 0.9566 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.008585, allocations: 23.8 kB / 0.9566 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.008623, allocations: 25.7 kB / 0.9566 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.008704, allocations: 327.1 kB / 0.9569 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.008764, allocations: 31.98 kB / 0.957 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.351e-05/0.008848, allocations: 97.91 kB / 0.9571 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.008979, allocations: 95.39 kB / 0.9572 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.008981, allocations: 192 / 0.9572 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000182/0.009163, allocations: 145.4 kB / 0.9573 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.00918, allocations: 14.59 kB / 0.9573 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.009185, allocations: 0 / 0.9573 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.009197, allocations: 0 / 0.9573 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.009285, allocations: 23.98 kB / 0.9573 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.009291, allocations: 4 kB / 0.9573 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.009336, allocations: 7.984 kB / 0.9573 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.009343, allocations: 8.094 kB / 0.9573 GB, free: 11.02 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.452e-05/0.009428, allocations: 132.3 kB / 0.9575 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.00945, allocations: 19.84 kB / 0.9575 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.009617, allocations: 119.1 kB / 0.9576 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.00962, allocations: 4 kB / 0.9576 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.009624, allocations: 0 / 0.9576 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.009629, allocations: 3.984 kB / 0.9576 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.009751, allocations: 176.6 kB / 0.9578 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.009752, allocations: 0 / 0.9578 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.009797, allocations: 20.23 kB / 0.9578 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.009801, allocations: 11.92 kB / 0.9578 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.009812, allocations: 12 kB / 0.9578 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.009814, allocations: 0 / 0.9578 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009815, allocations: 0 / 0.9578 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.01, allocations: 178.6 kB / 0.958 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.01002, allocations: 19.83 kB / 0.958 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.01004, allocations: 4 kB / 0.958 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.01008, allocations: 11.98 kB / 0.958 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.01012, allocations: 11.98 kB / 0.958 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.01014, allocations: 4 kB / 0.958 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.32e-05/0.01023, allocations: 157.1 kB / 0.9582 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.01023, allocations: 0 / 0.9582 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002038/0.01043, allocations: 47.86 kB / 0.9582 GB, free: 10.03 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/0.01162, allocations: 1.152 MB / 0.9594 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.01181, allocations: 95.81 kB / 0.9595 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01182, allocations: 0 / 0.9595 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/0.01189, allocations: 47.97 kB / 0.9595 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.01209, allocations: 37.7 kB / 0.9595 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.01359, allocations: 1.767 MB / 0.9613 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.724e-05/0.01365, allocations: 105.1 kB / 0.9614 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.611e-05/0.01372, allocations: 20.42 kB / 0.9614 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.01379, allocations: 52.47 kB / 0.9614 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of SimCode: time 7.61e-07/0.01379, allocations: 4 kB / 0.9614 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.03401, allocations: 5.31 MB / 0.9666 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.045, allocations: 8.047 kB / 0.9666 GB, free: 1.566 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.074089149944484]