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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00816/0.00816, allocations: 96.52 kB / 15.73 MB, free: 6.039 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.002136/0.002137, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.039/3.039, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002863/0.002863, allocations: 63.91 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3107, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002773/0.3135, allocations: 1.456 MB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004526/0.314, allocations: 187.4 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.3141, allocations: 0 / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.3141, allocations: 7.938 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.3144, allocations: 23.78 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.3146, allocations: 59.16 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.3147, allocations: 55.8 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.3148, allocations: 11.98 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.3149, allocations: 27.92 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.541e-05/0.315, allocations: 23.91 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.315, allocations: 4 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.815e-05/0.315, allocations: 4 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.3151, allocations: 15.92 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.3151, allocations: 15.94 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.3153, allocations: 55.78 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3153, allocations: 0 / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3153, allocations: 0 / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3153, allocations: 0 / 1.222 GB, free: 12.4 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.3158, allocations: 355.3 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3159, allocations: 12.03 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.3159, allocations: 30.75 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.316, allocations: 0.9375 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.3161, allocations: 176.3 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3161, allocations: 4.375 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.3162, allocations: 384 / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3163, allocations: 80.75 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3163, allocations: 3.938 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3164, allocations: 4 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3164, allocations: 0 / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.3164, allocations: 15.98 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.3168, allocations: 272.8 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.3169, allocations: 46.56 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.317, allocations: 16.84 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.317, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.3172, allocations: 63.48 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3172, allocations: 3.938 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002236/0.3174, allocations: 81.56 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.3175, allocations: 102.8 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.84e-05/0.3176, allocations: 109.8 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3176, allocations: 25.7 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.3177, allocations: 88.08 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.3177, allocations: 11.94 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.3178, allocations: 17.72 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3179, allocations: 326.8 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.318, allocations: 7.938 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.318, allocations: 46.81 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.001e-05/0.3181, allocations: 24.8 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3181, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001067/0.3182, allocations: 61.64 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3182, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3182, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3183, allocations: 4 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.3183, allocations: 4 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3184, allocations: 0 / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3185, allocations: 18.27 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.3185, allocations: 4 kB / 1.224 GB, free: 10.15 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.0001054/0.3186, allocations: 123.3 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.3186, allocations: 4 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.3186, allocations: 3.5 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.3187, allocations: 4 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3187, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3187, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.3188, allocations: 177.5 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3188, allocations: 4 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.3189, allocations: 4 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3189, allocations: 0 / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3189, allocations: 0 / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3189, allocations: 0 / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3189, allocations: 0 / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.3191, allocations: 96.98 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.3191, allocations: 85.28 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.3192, allocations: 8 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3193, allocations: 11.98 kB / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.3193, allocations: 7.938 kB / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3193, allocations: 0 / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.7e-05/0.3194, allocations: 87.27 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3194, allocations: 0 / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001969/0.3196, allocations: 12 kB / 1.225 GB, free: 9.438 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.0004665/0.3201, allocations: 0.636 MB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.3202, allocations: 35.92 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3202, allocations: 0 / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.3203, allocations: 12 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.3204, allocations: 13.3 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3216, allocations: 1.184 MB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.3219, allocations: 0.6807 MB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.322, allocations: 8 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.322, allocations: 11.44 kB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.322, allocations: 0 / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.3462, allocations: 1.772 MB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.48, allocations: 11.55 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB (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 50 --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) 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) Reference file matches