Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_9_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.005259/0.005259, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001261/0.001261, allocations: 195.7 kB / 16.68 MB, free: 5.93 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.238/1.238, 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 9.1.3-maint.9.1.x/package.mo): time 2.061/2.061, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 71.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/0.7153, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002245/0.7176, allocations: 1.463 MB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003642/0.7179, allocations: 196.3 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.718, allocations: 0 / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.718, allocations: 2.5 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.7182, allocations: 20.27 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.7184, allocations: 60.09 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.26e-05/0.7185, allocations: 55.77 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/0.7186, allocations: 10.12 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.7186, allocations: 26.69 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.7187, allocations: 23.47 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.7188, allocations: 4.344 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.7188, allocations: 4.375 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.7188, allocations: 13.67 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.7188, allocations: 18.31 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.719, allocations: 52.78 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.719, allocations: 0 / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.719, allocations: 0 / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.719, allocations: 1.547 kB / 1.089 GB, free: 4.02 MB / 0.8575 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.0004061/0.7194, allocations: 352.1 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.7194, allocations: 9.953 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.7195, allocations: 41.64 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.7195, allocations: 3.25 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.822e-05/0.7196, allocations: 173.4 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.7196, allocations: 5.375 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.7196, allocations: 3.062 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.7197, allocations: 74.52 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.7198, allocations: 5.062 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.7198, allocations: 0 / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.7198, allocations: 0.9688 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.508e-05/0.7198, allocations: 20.72 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.7201, allocations: 273.9 kB / 1.09 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/0.7202, allocations: 46.23 kB / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.7203, allocations: 17.41 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.7203, allocations: 0 / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.7204, allocations: 70.97 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7204, allocations: 0.6562 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001938/0.7206, allocations: 77.67 kB / 1.09 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.7207, allocations: 104.5 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.7207, allocations: 109.6 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.7207, allocations: 25.7 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.7208, allocations: 87.62 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.7208, allocations: 9.516 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.7208, allocations: 23.48 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.7209, allocations: 317.4 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.811e-05/0.7209, allocations: 14.36 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.496e-05/0.721, allocations: 39.16 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/0.721, allocations: 25.33 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.721, allocations: 0 / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.109e-05/0.7211, allocations: 56.06 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7211, allocations: 5.156 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.7211, allocations: 1.031 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.7211, allocations: 0.5625 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.7212, allocations: 10.38 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7212, allocations: 1 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.7213, allocations: 17 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.7214, allocations: 1.219 kB / 1.091 GB, free: 2.074 MB / 0.8575 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 5.703e-05/0.7214, allocations: 119 kB / 1.091 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.7214, allocations: 5.703 kB / 1.091 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.7215, allocations: 9.734 kB / 1.091 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.7215, allocations: 1.062 kB / 1.091 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7215, allocations: 0 / 1.091 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7215, allocations: 2.125 kB / 1.091 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.535e-05/0.7216, allocations: 172.5 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.7216, allocations: 4 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.7216, allocations: 8.297 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7216, allocations: 0 / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.7216, allocations: 2.141 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7216, allocations: 0 / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7216, allocations: 1.344 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.7217, allocations: 92.78 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.7218, allocations: 88.58 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.7218, allocations: 0 / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.7219, allocations: 12.33 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.722, allocations: 8.484 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.722, allocations: 2.312 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.722, allocations: 86.08 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.722, allocations: 3.938 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001905/0.7222, allocations: 15.39 kB / 1.092 GB, free: 1.457 MB / 0.8575 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.0003098/0.7225, allocations: 0.6342 MB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.7227, allocations: 29.19 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7227, allocations: 0 / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.7227, allocations: 15.06 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.7229, allocations: 7.953 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009119/0.7238, allocations: 1.171 MB / 1.094 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.724, allocations: 0.6799 MB / 1.094 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.773e-05/0.724, allocations: 10.12 kB / 1.094 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.7241, allocations: 14.5 kB / 1.094 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.7241, allocations: 0 / 1.094 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01565/0.7397, allocations: 1.763 MB / 1.096 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.743/7.482, allocations: 23.06 kB / 1.096 GB, free: 14.59 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches