Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008432/0.008432, allocations: 100.7 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 189.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.805/1.805, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.89 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7243, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002668/0.727, allocations: 1.458 MB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000447/0.7274, allocations: 183.4 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.7275, allocations: 4 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.7276, allocations: 3.938 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.7278, allocations: 29.34 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.728, allocations: 57.48 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.7281, allocations: 51.91 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.7282, allocations: 15.86 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.7283, allocations: 23.98 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.7284, allocations: 15.92 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.7284, allocations: 8 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.7284, allocations: 8 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.7284, allocations: 15.91 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.7285, allocations: 23.92 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.7286, allocations: 47.66 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7286, allocations: 0 / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7286, allocations: 0 / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.7286, allocations: 0 / 1.168 GB, free: 1.863 MB / 0.8887 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.0005869/0.7292, allocations: 359.2 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.7293, allocations: 12.62 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.7293, allocations: 34.69 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.7294, allocations: 4.938 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.7295, allocations: 168.4 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.7296, allocations: 4.312 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.7296, allocations: 4.375 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.7297, allocations: 72.81 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.7298, allocations: 3.938 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.7298, allocations: 11.98 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.7298, allocations: 4 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.7298, allocations: 12 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.7303, allocations: 280.7 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.941e-05/0.7304, allocations: 34.58 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.7304, allocations: 20.94 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.7304, allocations: 4 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.7306, allocations: 71.31 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.694e-06/0.7306, allocations: 0 / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.000225/0.7309, allocations: 69.67 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.731, allocations: 102.8 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.7311, allocations: 105.8 kB / 1.169 GB, free: 296 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.7311, allocations: 33.69 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.7312, allocations: 92.09 kB / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.7312, allocations: 3.953 kB / 1.169 GB, free: 156 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.7313, allocations: 25.7 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7314, allocations: 318.8 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.481e-05/0.7315, allocations: 12 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.7315, allocations: 30.56 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.7316, allocations: 28.8 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7316, allocations: 8.016 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001135/0.7317, allocations: 57.66 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.7317, allocations: 4 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.7318, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.7318, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.7318, allocations: 15.98 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.7319, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.732, allocations: 8.422 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.732, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 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.0001032/0.7321, allocations: 125.7 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.7321, allocations: 4 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.7321, allocations: 7.5 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7322, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.7322, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7322, allocations: 3.938 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.7323, allocations: 181.6 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.7323, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.7324, allocations: 0 / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.7324, allocations: 4 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.7324, allocations: 4 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.7324, allocations: 3.984 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7324, allocations: 0 / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.7326, allocations: 89.02 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.7326, allocations: 85.09 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.7327, allocations: 7.938 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.7328, allocations: 11.98 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.7328, allocations: 7.922 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.7329, allocations: 8 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.973e-05/0.7329, allocations: 83.28 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7329, allocations: 0 / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002003/0.7331, allocations: 15.94 kB / 1.171 GB, free: 14.89 MB / 0.9044 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.0004824/0.7336, allocations: 0.628 MB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.7338, allocations: 40.2 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7338, allocations: 0 / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.7338, allocations: 15.98 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.734, allocations: 4.656 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.7352, allocations: 1.164 MB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.7355, allocations: 0.6807 MB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.218e-05/0.7356, allocations: 4 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.7356, allocations: 15.36 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of SimCode: time 4.71e-07/0.7356, allocations: 4 kB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.7635, allocations: 1.77 MB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.83, allocations: 22.05 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches