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.0007862/0.0007862, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008615/0.0008615, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9274/0.9274, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.8/1.8, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.496e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002932/0.002957, allocations: 1.469 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003535/0.003311, allocations: 184.1 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.003351, allocations: 3.938 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.003381, allocations: 3.938 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.003654, allocations: 23.84 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.003845, allocations: 62.53 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.003955, allocations: 63.84 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.004049, allocations: 8 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.289e-05/0.004122, allocations: 35.89 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.004198, allocations: 15.98 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.004224, allocations: 4 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.004237, allocations: 8 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.004262, allocations: 19.91 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.004302, allocations: 15.98 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.004418, allocations: 63.78 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.004421, allocations: 0 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.653e-06/0.004423, allocations: 4 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.004428, allocations: 0 / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004716/0.0049, allocations: 278.3 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.004944, allocations: 12.75 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.004974, allocations: 30.75 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.005008, allocations: 8.891 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.061e-05/0.005099, allocations: 117.7 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.005112, allocations: 384 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.005123, allocations: 4.375 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.005265, allocations: 128.2 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.005272, allocations: 4.188 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.005282, allocations: 384 / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.005288, allocations: 8.125 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.143e-05/0.00533, allocations: 19.92 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.005738, allocations: 251.9 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.946e-05/0.005838, allocations: 42.56 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.005864, allocations: 20.88 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.005874, allocations: 0 / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.006051, allocations: 71.33 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.006052, allocations: 4 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0001801/0.006232, allocations: 73.69 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.006288, allocations: 106.8 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.86e-05/0.006347, allocations: 105.8 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.006362, allocations: 25.7 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.006396, allocations: 88.09 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.006415, allocations: 11.94 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.006453, allocations: 29.7 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.00653, allocations: 314.8 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.006558, allocations: 15.94 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.006617, allocations: 89.97 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.299e-05/0.00667, allocations: 48.95 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.006672, allocations: 0 / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003499/0.007022, allocations: 77.64 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.007035, allocations: 4 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.007041, allocations: 4 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.007054, allocations: 0 / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.007125, allocations: 8.438 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.007131, allocations: 0 / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.007199, allocations: 15.92 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.007208, allocations: 7.984 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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 7.032e-05/0.007279, allocations: 117.8 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.007292, allocations: 11.89 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.007315, allocations: 11.8 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.007318, allocations: 0 / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.007323, allocations: 0 / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007325, allocations: 0 / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.593e-05/0.007411, allocations: 136.7 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007413, allocations: 0 / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.007429, allocations: 4 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.007431, allocations: 0 / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.007438, allocations: 7.984 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.00744, allocations: 0 / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.007441, allocations: 0 / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.699e-05/0.007538, allocations: 101 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.007569, allocations: 11.94 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.007584, allocations: 0 / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.402e-05/0.007638, allocations: 11.98 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.007666, allocations: 4 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.007671, allocations: 3.984 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.119e-05/0.007702, allocations: 87.28 kB / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007702, allocations: 4 kB / 1.004 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001334/0.007836, allocations: 8 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002915/0.008127, allocations: 0.636 MB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.008258, allocations: 36.05 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.008261, allocations: 0 / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.008293, allocations: 15.94 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.008428, allocations: 17.8 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.009309, allocations: 1.215 MB / 1.006 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.874e-05/0.009358, allocations: 67.34 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.009394, allocations: 4 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.009437, allocations: 20.48 kB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of SimCode: time 1.092e-06/0.009438, allocations: 0 / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.02776, allocations: 2.528 MB / 1.008 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/6.947, allocations: 16.5 kB / 1.008 GB, free: 4.191 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.232938224449754]