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.001572/0.001572, allocations: 95.77 kB / 18.94 MB, free: 2.832 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.002013/0.002013, allocations: 212.5 kB / 22.25 MB, free: 5.105 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.824 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.333/3.333, allocations: 0.49 GB / 0.7951 GB, free: 35.62 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.00198/0.00198, allocations: 68.06 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3601, allocations: 176.1 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002692/0.3628, allocations: 1.482 MB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004385/0.3633, allocations: 171.5 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.3633, allocations: 0 / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.3633, allocations: 3.938 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.3635, allocations: 27.84 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.3637, allocations: 55.8 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.3638, allocations: 63.78 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.877e-05/0.3639, allocations: 11.94 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.364, allocations: 31.97 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.364, allocations: 15.92 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.364, allocations: 4 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.689e-05/0.3641, allocations: 8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.3641, allocations: 11.92 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.3641, allocations: 27.91 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.501e-05/0.3642, allocations: 39.88 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3642, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3642, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3642, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 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.0004891/0.3647, allocations: 282.3 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3648, allocations: 8.031 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.3648, allocations: 34.75 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.3648, allocations: 4.891 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.365, allocations: 122.4 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.365, allocations: 4.375 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.365, allocations: 384 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3652, allocations: 124.2 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3652, allocations: 3.938 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3652, allocations: 4 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3652, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.3652, allocations: 23.98 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.3656, allocations: 239.9 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.433e-05/0.3657, allocations: 38.56 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.3657, allocations: 12.86 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.3657, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3659, allocations: 63.42 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3659, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001965/0.3661, allocations: 73.67 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.3662, allocations: 106.8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.3662, allocations: 109.8 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3663, allocations: 25.7 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.3663, allocations: 84.14 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.3663, allocations: 11.91 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.3664, allocations: 25.7 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3665, allocations: 314.8 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.091e-05/0.3666, allocations: 20.17 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.448e-05/0.3666, allocations: 89.86 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.433e-05/0.3667, allocations: 32.84 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3667, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.3668, allocations: 57.72 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3668, allocations: 8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3668, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.3668, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.3669, allocations: 8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3669, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.367, allocations: 16.06 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.367, allocations: 7.938 kB / 1.33 GB, free: 13.4 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.912e-05/0.3671, allocations: 121.8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.3671, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.3671, allocations: 15.67 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3671, allocations: 4 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3672, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3672, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.3673, allocations: 132.7 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3673, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.3673, allocations: 4 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3673, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3673, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3673, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3673, allocations: 192 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.3675, allocations: 101 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.3675, allocations: 19.94 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3675, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.3676, allocations: 11.98 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.3676, allocations: 0 / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3676, allocations: 7.984 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.3677, allocations: 83.28 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3677, allocations: 0 / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000194/0.3679, allocations: 12 kB / 1.33 GB, free: 12.82 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.0004571/0.3684, allocations: 0.6319 MB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.3685, allocations: 31.92 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3685, allocations: 3.938 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.3685, allocations: 12 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.3687, allocations: 11.92 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.3698, allocations: 1.168 MB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.785e-05/0.3699, allocations: 73.8 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.3699, allocations: 7.906 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.3699, allocations: 19.42 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3699, allocations: 0 / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.3972, allocations: 2.373 MB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.38, allocations: 10.23 kB / 1.334 GB, free: 8.5 MB / 1.029 GB " [Timeout remaining time 289] (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.359010309999576]