Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001632/0.001632, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002127/0.002127, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.023 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.762/2.762, allocations: 476.8 MB / 0.7707 GB, free: 4.281 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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_11_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.002046/0.002046, allocations: 67.89 kB / 1.117 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 170 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002923/0.3515, allocations: 1.496 MB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004539/0.352, allocations: 187.3 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.352, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.352, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.3523, allocations: 28.97 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.3525, allocations: 60.61 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3526, allocations: 55.84 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.3527, allocations: 7.797 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.3527, allocations: 27.91 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.3528, allocations: 19.92 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3529, allocations: 4 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.3529, allocations: 4 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.3529, allocations: 11.98 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.353, allocations: 31.91 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.3531, allocations: 43.86 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3531, allocations: 0 / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3531, allocations: 0 / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3531, allocations: 0 / 1.285 GB, free: 9.809 MB / 0.9825 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.0005424/0.3536, allocations: 274.4 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3537, allocations: 8.031 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.3537, allocations: 34.73 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3537, allocations: 8.891 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3539, allocations: 122.4 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3539, allocations: 4.312 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.3539, allocations: 4.375 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3541, allocations: 70.64 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3541, allocations: 3.938 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3541, allocations: 4 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3541, allocations: 0 / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.749e-05/0.3541, allocations: 23.92 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.3545, allocations: 240 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/0.3546, allocations: 38.56 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.3547, allocations: 16.86 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.3547, allocations: 0 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.3549, allocations: 71.36 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3549, allocations: 4 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002136/0.3551, allocations: 73.67 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.3551, allocations: 102.8 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.232e-05/0.3552, allocations: 105.8 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3553, allocations: 25.7 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.3553, allocations: 88.14 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.3553, allocations: 15.83 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.3554, allocations: 25.72 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3555, allocations: 322.8 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.3556, allocations: 11.94 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.3556, allocations: 38.56 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.469e-05/0.3557, allocations: 29.23 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3557, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/0.3558, allocations: 53.69 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3558, allocations: 8 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3558, allocations: 4.031 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3558, allocations: 0 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.3559, allocations: 7.938 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3559, allocations: 0 / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.356, allocations: 15.92 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.356, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 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 0.0001058/0.3561, allocations: 121.8 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.3562, allocations: 11.89 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.3562, allocations: 7.688 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3562, allocations: 4 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3562, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3562, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.3563, allocations: 144.7 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3563, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.3564, allocations: 4 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3564, allocations: 0 / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3564, allocations: 4 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.3564, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3564, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.3565, allocations: 96.98 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.3565, allocations: 11.94 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.3566, allocations: 0 / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3567, allocations: 18.94 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.3567, allocations: 0 / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.3567, allocations: 4 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.3568, allocations: 91.33 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3568, allocations: 4 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001878/0.357, allocations: 8 kB / 1.288 GB, free: 7.176 MB / 0.9825 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.0005081/0.3575, allocations: 0.6244 MB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.3576, allocations: 27.98 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3576, allocations: 4 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.417e-05/0.3576, allocations: 23.92 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.3578, allocations: 10 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.359, allocations: 1.181 MB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3593, allocations: 0.6768 MB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.3593, allocations: 8 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.3594, allocations: 11.44 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3594, allocations: 0 / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.3877, allocations: 1.877 MB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.67, allocations: 6.656 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.46011380100026]