Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001372/0.001372, 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.001735/0.001735, allocations: 210.5 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.2/3.2, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_latest_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.002059/0.002059, allocations: 67.7 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3302, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00282/0.333, allocations: 1.481 MB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004396/0.3334, allocations: 175.5 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.3335, allocations: 4 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.3335, allocations: 4 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.3337, allocations: 15.86 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.3339, allocations: 62.3 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.334, allocations: 59.83 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.003e-05/0.3341, allocations: 11.94 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.3341, allocations: 27.92 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.3342, allocations: 15.92 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.3342, allocations: 4 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.561e-05/0.3342, allocations: 7.938 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.3342, allocations: 23.97 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.3343, allocations: 15.92 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.3344, allocations: 47.86 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3344, allocations: 0 / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3344, allocations: 0 / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3344, allocations: 3.938 kB / 1.365 GB, free: 12.14 MB / 1.061 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.0005001/0.3349, allocations: 270.3 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3349, allocations: 12.03 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.335, allocations: 34.73 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.335, allocations: 8.938 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3351, allocations: 118.4 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3352, allocations: 384 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.3352, allocations: 4.375 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3353, allocations: 124.2 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3354, allocations: 7.875 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3354, allocations: 4 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3354, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.412e-05/0.3354, allocations: 15.98 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.3358, allocations: 232 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.68e-05/0.3359, allocations: 38.52 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.3359, allocations: 24.94 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.3359, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.3361, allocations: 63.38 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3361, allocations: 0 / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000219/0.3363, allocations: 81.56 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.3364, allocations: 110.8 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.3365, allocations: 101.9 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3365, allocations: 25.7 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.3366, allocations: 88.12 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.3366, allocations: 7.953 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.3366, allocations: 29.66 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3368, allocations: 318.8 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.3368, allocations: 8 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.207e-05/0.3369, allocations: 90.22 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.968e-05/0.3369, allocations: 32.97 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3369, allocations: 0 / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001074/0.3371, allocations: 53.64 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3371, allocations: 8 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.3371, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3371, allocations: 7.922 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.195e-05/0.3371, allocations: 8.031 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.3371, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3373, allocations: 15.92 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3373, allocations: 4 kB / 1.367 GB, free: 9.98 MB / 1.061 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.082e-05/0.3374, allocations: 113.8 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.3374, allocations: 4 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.3374, allocations: 7.688 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.3374, allocations: 0 / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3374, allocations: 0 / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3374, allocations: 3.984 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.3375, allocations: 144.6 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3375, allocations: 0 / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.3376, allocations: 4 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3376, allocations: 0 / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3376, allocations: 8 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3376, allocations: 0 / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3376, allocations: 0 / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.3377, allocations: 96.98 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.3378, allocations: 7.922 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3378, allocations: 4 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3379, allocations: 16.05 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.3379, allocations: 8 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3379, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.254e-05/0.338, allocations: 83.27 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.338, allocations: 0 / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001935/0.3382, allocations: 19.95 kB / 1.368 GB, free: 9.391 MB / 1.061 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.0004699/0.3386, allocations: 0.6241 MB / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3387, allocations: 28.27 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3387, allocations: 0 / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.3388, allocations: 19.94 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.3389, allocations: 4 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3401, allocations: 1.181 MB / 1.369 GB, free: 7.422 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.493e-05/0.3402, allocations: 67.34 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.3402, allocations: 4 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.3402, allocations: 11.44 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3402, allocations: 0 / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.3668, allocations: 2.351 MB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.71, allocations: 9.5 kB / 1.372 GB, free: 5.113 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.41810926469043]