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.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006295/0.006295, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.001505/0.001505, allocations: 194.9 kB / 16.67 MB, free: 5.973 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.642/2.642, allocations: 469.4 MB / 0.7421 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 76.09 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2639, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002358/0.2663, allocations: 1.456 MB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000391/0.2667, allocations: 187.4 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.2667, allocations: 0 / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.2668, allocations: 7.938 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.267, allocations: 19.86 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.2672, allocations: 55.86 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.593e-05/0.2673, allocations: 63.83 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.418e-05/0.2674, allocations: 4 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.2674, allocations: 19.92 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.2675, allocations: 23.91 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.2675, allocations: 11.98 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.2675, allocations: 4 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.2676, allocations: 15.94 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.2676, allocations: 19.92 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.2677, allocations: 51.8 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2677, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2677, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.2677, allocations: 0 / 1.222 GB, free: 12.75 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.0004665/0.2682, allocations: 351.3 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2682, allocations: 16.03 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.2683, allocations: 34.75 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.2683, allocations: 4.938 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2684, allocations: 172.3 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2685, allocations: 4.312 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.2685, allocations: 4.375 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.2686, allocations: 72.81 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2686, allocations: 3.938 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2686, allocations: 7.984 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2687, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.135e-05/0.2687, allocations: 16 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.269, allocations: 276.8 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/0.2691, allocations: 38.56 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.2692, allocations: 16.86 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-06/0.2692, allocations: 4 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.2693, allocations: 59.48 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.2693, allocations: 7.875 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001895/0.2695, allocations: 77.56 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.2696, allocations: 106.8 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.946e-05/0.2697, allocations: 105.8 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2697, allocations: 25.7 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.2698, allocations: 92.08 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.2698, allocations: 11.94 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.2698, allocations: 25.7 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.2699, allocations: 314.8 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.27, allocations: 11.98 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.8e-05/0.27, allocations: 30.58 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.2701, allocations: 33.16 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.2701, allocations: 8.031 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001005/0.2702, allocations: 61.64 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2702, allocations: 8 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2702, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2702, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.2703, allocations: 4 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2703, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2704, allocations: 11.98 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.2705, allocations: 0 / 1.224 GB, free: 10.5 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 8.324e-05/0.2705, allocations: 125.7 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.2706, allocations: 4 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.2706, allocations: 11.48 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2706, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2706, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2706, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.2707, allocations: 169.5 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2707, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.2708, allocations: 4 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2708, allocations: 3.984 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.2708, allocations: 4 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2708, allocations: 8 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2708, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.2709, allocations: 81.06 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.271, allocations: 93.27 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.271, allocations: 0 / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2711, allocations: 22.72 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.2712, allocations: 3.984 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.2712, allocations: 8 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.2712, allocations: 87.34 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2712, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002012/0.2715, allocations: 15.94 kB / 1.224 GB, free: 9.781 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.000375/0.2718, allocations: 0.6319 MB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.272, allocations: 35.92 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.272, allocations: 0 / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.272, allocations: 19.98 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.2722, allocations: 10 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/0.2731, allocations: 1.179 MB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.2734, allocations: 0.6768 MB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.2734, allocations: 7.984 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.2735, allocations: 15.44 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.2735, allocations: 7.938 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.29, allocations: 1.775 MB / 1.228 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/7.608, allocations: 5.375 kB / 1.228 GB, free: 5.43 MB / 0.9825 GB (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 50 --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) 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) Reference file matches