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.001352/0.001352, allocations: 104 kB / 16.45 MB, free: 6.453 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.001361/0.001361, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.087/3.087, allocations: 0.49 GB / 0.7916 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.001939/0.001939, allocations: 66.86 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3322, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002876/0.335, allocations: 1.478 MB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00045/0.3355, allocations: 191.4 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.3355, allocations: 0 / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.3356, allocations: 3.938 kB / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.3358, allocations: 35.83 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.336, allocations: 58.67 kB / 1.323 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.3361, allocations: 67.78 kB / 1.323 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.3362, allocations: 7.922 kB / 1.323 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.943e-05/0.3363, allocations: 19.98 kB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.3364, allocations: 23.91 kB / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3364, allocations: 4 kB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.3364, allocations: 4 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.3364, allocations: 23.92 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.3365, allocations: 11.94 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.3366, allocations: 51.86 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3366, allocations: 3.984 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of FrontEnd: time 7.81e-07/0.3366, allocations: 0 / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.3366, allocations: 0 / 1.323 GB, free: 1.387 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.0005913/0.3372, allocations: 343.4 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3372, allocations: 15.98 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.3373, allocations: 34.75 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.3373, allocations: 8.891 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.3375, allocations: 176.2 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3375, allocations: 4.375 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.3375, allocations: 4.375 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3377, allocations: 72.81 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3377, allocations: 3.938 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3377, allocations: 0 / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3377, allocations: 0 / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.298e-05/0.3378, allocations: 19.98 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.3381, allocations: 288.7 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.831e-05/0.3382, allocations: 34.56 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.3383, allocations: 12.86 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.3383, allocations: 0 / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.3384, allocations: 71.42 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3384, allocations: 0 / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002152/0.3387, allocations: 69.67 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.3387, allocations: 102.8 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.3388, allocations: 105.8 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3389, allocations: 33.7 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.3389, allocations: 84.09 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.3389, allocations: 11.94 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.339, allocations: 21.72 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3391, allocations: 322.8 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.3391, allocations: 12 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.559e-05/0.3392, allocations: 42.69 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.475e-05/0.3392, allocations: 24.86 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3392, allocations: 0 / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001124/0.3394, allocations: 61.69 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3394, allocations: 4 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3394, allocations: 4.031 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3394, allocations: 0 / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.3395, allocations: 8 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3395, allocations: 0 / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3396, allocations: 18.69 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3396, allocations: 0 / 1.325 GB, free: 15.14 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.836e-05/0.3397, allocations: 125.7 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.3397, allocations: 4.188 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.3397, allocations: 11.48 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3397, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3397, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3397, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.3399, allocations: 177.6 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3399, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.3399, allocations: 3.938 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3399, allocations: 4 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3399, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3399, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3399, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.3401, allocations: 100.9 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.3401, allocations: 89.28 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.3401, allocations: 4 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3403, allocations: 11.98 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.3403, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.3403, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.758e-05/0.3404, allocations: 87.27 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3404, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001907/0.3405, allocations: 12 kB / 1.325 GB, free: 14.42 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.000477/0.341, allocations: 0.6241 MB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.3411, allocations: 31.92 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3412, allocations: 0 / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.3412, allocations: 16 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.3413, allocations: 4 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.3425, allocations: 1.18 MB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3428, allocations: 0.6845 MB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.3429, allocations: 4 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.3429, allocations: 7.438 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3429, allocations: 4 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.3689, allocations: 1.786 MB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.24, allocations: 12.2 kB / 1.33 GB, free: 10.08 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.832273832056671]