Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001307/0.001307, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002688/0.002688, allocations: 213.8 kB / 22.24 MB, free: 5.262 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 / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.199/3.199, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.002053/0.002053, allocations: 68.47 kB / 1.153 GB, free: 26.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3358, allocations: 176.1 MB / 1.325 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002884/0.3387, allocations: 1.466 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004561/0.3392, allocations: 171.5 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.3392, allocations: 4 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.3393, allocations: 11.92 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.3395, allocations: 19.88 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.3397, allocations: 54.91 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3398, allocations: 67.83 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.3399, allocations: 7.938 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.797e-05/0.34, allocations: 23.92 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.3401, allocations: 23.86 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.3401, allocations: 4 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/0.3401, allocations: 4 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.3401, allocations: 19.97 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.3402, allocations: 15.94 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3403, allocations: 51.84 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3403, allocations: 0 / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3403, allocations: 0 / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3403, allocations: 3.938 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005159/0.3408, allocations: 270.3 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3408, allocations: 15.97 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.3409, allocations: 30.75 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.3409, allocations: 12.89 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3411, allocations: 122.5 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3411, allocations: 384 / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3411, allocations: 4.375 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3413, allocations: 124.2 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3413, allocations: 7.938 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3413, allocations: 4 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3413, allocations: 0 / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.085e-05/0.3414, allocations: 15.98 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.3417, allocations: 235.9 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3418, allocations: 38.56 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.3419, allocations: 20.94 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3419, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.342, allocations: 63.39 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.342, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002219/0.3423, allocations: 69.62 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.3423, allocations: 110.8 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.3424, allocations: 105.9 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3425, allocations: 25.7 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.3425, allocations: 88.08 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.3425, allocations: 15.95 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.3426, allocations: 21.7 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3427, allocations: 318.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.3428, allocations: 8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.3428, allocations: 85.97 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.3429, allocations: 28.8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3429, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001164/0.343, allocations: 62.31 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.343, allocations: 8 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.343, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.343, allocations: 3.938 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.3431, allocations: 16 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3431, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3432, allocations: 19.88 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3432, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.714e-05/0.3433, allocations: 117.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.3434, allocations: 4 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.3434, allocations: 7.625 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3434, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.3434, allocations: 3.938 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3434, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.3435, allocations: 148.6 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3435, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.3435, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3435, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3436, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3436, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3436, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.3437, allocations: 97 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.3437, allocations: 8 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.3438, allocations: 3.984 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3439, allocations: 8 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.3439, allocations: 7.984 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3439, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.344, allocations: 91.2 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.344, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001974/0.3442, allocations: 12 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005049/0.3447, allocations: 0.628 MB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.3448, allocations: 35.92 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3448, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.3448, allocations: 16 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.345, allocations: 4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.3462, allocations: 1.173 MB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.741e-05/0.3463, allocations: 63.34 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.3463, allocations: 7.906 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.3463, allocations: 15.66 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.3463, allocations: 96 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.3761, allocations: 2.352 MB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.67, allocations: 6.953 kB / 1.334 GB, free: 9.527 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable conTim.modTim in file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.383547990117222]