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.008877/0.008877, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.002139/0.002139, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.121/2.121, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7093/0.7106, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.0021/0.7128, allocations: 1.449 MB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003617/0.7131, allocations: 183.4 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.7132, allocations: 1.281 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.7132, allocations: 4.641 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.7134, allocations: 32.62 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.7136, allocations: 49.89 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.024e-05/0.7137, allocations: 56.31 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.992e-05/0.7138, allocations: 9.016 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.7138, allocations: 27.38 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.7139, allocations: 26.83 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.7139, allocations: 4.375 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.714, allocations: 4.938 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.714, allocations: 9.062 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.714, allocations: 26.56 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.442e-05/0.7141, allocations: 50.83 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.7141, allocations: 0.9688 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7141, allocations: 0 / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.7142, allocations: 0 / 1.089 GB, free: 4.008 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.0004001/0.7146, allocations: 347 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.7146, allocations: 15.34 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.7146, allocations: 36.53 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.7147, allocations: 3.219 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.468e-05/0.7148, allocations: 178 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.7148, allocations: 1.719 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.7148, allocations: 5.625 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.7149, allocations: 78.78 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.715, allocations: 4.453 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.715, allocations: 4.969 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.715, allocations: 1.125 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.396e-05/0.715, allocations: 20.33 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.7153, allocations: 278.6 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.008e-05/0.7154, allocations: 37.39 kB / 1.09 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.7154, allocations: 17.19 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.7155, allocations: 1.062 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.7156, allocations: 63.31 kB / 1.09 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.7156, allocations: 0 / 1.09 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001835/0.7158, allocations: 78 kB / 1.09 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.7158, allocations: 108 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.7159, allocations: 104.2 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.7159, allocations: 26.86 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.7159, allocations: 83.14 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.7159, allocations: 10.61 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.716, allocations: 26.12 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.458e-05/0.716, allocations: 317.4 kB / 1.091 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.7161, allocations: 10.89 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.444e-05/0.7161, allocations: 31.77 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.7162, allocations: 33.53 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.7162, allocations: 0 / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.037e-05/0.7163, allocations: 59.52 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.7163, allocations: 6.109 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.7163, allocations: 4 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.7163, allocations: 1.188 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.7164, allocations: 6.375 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.7164, allocations: 4.75 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.7165, allocations: 11.73 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.7165, allocations: 1.438 kB / 1.091 GB, free: 2.066 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.797e-05/0.7166, allocations: 118.7 kB / 1.091 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.7166, allocations: 1.812 kB / 1.091 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.758e-05/0.7166, allocations: 17.52 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.7166, allocations: 5.422 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.7166, allocations: 192 / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.7167, allocations: 1.328 kB / 1.091 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.345e-05/0.7167, allocations: 171.8 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7167, allocations: 0.7188 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.7168, allocations: 3.453 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7168, allocations: 1.375 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.7168, allocations: 5.359 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7168, allocations: 0 / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7168, allocations: 8.844 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.7169, allocations: 93.56 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.717, allocations: 87.31 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.717, allocations: 2.203 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.7171, allocations: 8.578 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.7171, allocations: 7.141 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.7172, allocations: 2.922 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.7172, allocations: 89.52 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7172, allocations: 0 / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001931/0.7174, allocations: 14.34 kB / 1.092 GB, free: 1.441 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.0002887/0.7177, allocations: 0.6268 MB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.7178, allocations: 34.08 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7178, allocations: 4 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.7179, allocations: 14.52 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.718, allocations: 7.609 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009548/0.719, allocations: 1.158 MB / 1.094 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.7192, allocations: 0.6803 MB / 1.094 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.736e-05/0.7193, allocations: 5.703 kB / 1.094 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.7193, allocations: 14.3 kB / 1.094 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.7193, allocations: 0 / 1.094 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.7362, allocations: 1.778 MB / 1.096 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.757, allocations: 5.141 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