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.005743/0.005743, allocations: 100.2 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.001347/0.001347, allocations: 193 kB / 16.67 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.106/2.106, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6758/0.6771, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002173/0.6793, allocations: 1.452 MB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003608/0.6797, allocations: 188.5 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.6797, allocations: 1.25 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.6798, allocations: 0.5625 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.68, allocations: 27.72 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.6802, allocations: 54.08 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.836e-05/0.6802, allocations: 60.33 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.486e-05/0.6803, allocations: 13.28 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.6804, allocations: 22.33 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.6805, allocations: 19.97 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.6805, allocations: 4.375 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.6805, allocations: 4.312 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.6805, allocations: 13.28 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.6806, allocations: 22.17 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.504e-05/0.6807, allocations: 51.44 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.6807, allocations: 1.031 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6807, allocations: 0 / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.6807, allocations: 0 / 1.089 GB, free: 4 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.0003904/0.6811, allocations: 354.8 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.6811, allocations: 10.34 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.546e-05/0.6812, allocations: 41.03 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.6812, allocations: 2.906 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.623e-05/0.6813, allocations: 173.9 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.6813, allocations: 1.312 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.6813, allocations: 2.531 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.6815, allocations: 79.05 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.6815, allocations: 3.938 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.6815, allocations: 5.094 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.6815, allocations: 1.844 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.6815, allocations: 18.75 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.6818, allocations: 272.3 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.41e-05/0.6819, allocations: 41.67 kB / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.682, allocations: 21.86 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.682, allocations: 0 / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.6821, allocations: 66.25 kB / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.6821, allocations: 0 / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001799/0.6823, allocations: 73.77 kB / 1.09 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.6823, allocations: 105 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.117e-05/0.6824, allocations: 108.5 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.6824, allocations: 30.48 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.6824, allocations: 83.09 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.6825, allocations: 6.219 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.6825, allocations: 26.83 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.6826, allocations: 320.9 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.6826, allocations: 11.02 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.6826, allocations: 40.11 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.6827, allocations: 24.86 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6827, allocations: 1.094 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.536e-05/0.6828, allocations: 58.47 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.6828, allocations: 5.656 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.6828, allocations: 1.062 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6828, allocations: 0 / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.6829, allocations: 15.59 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.6829, allocations: 0.7969 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.965e-05/0.683, allocations: 16.97 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.683, allocations: 1.891 kB / 1.091 GB, free: 2.047 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.348e-05/0.6831, allocations: 118.4 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.6831, allocations: 2.188 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.6831, allocations: 9.25 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.6831, allocations: 0 / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.6832, allocations: 1.578 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.6832, allocations: 0 / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.956e-05/0.6832, allocations: 176.5 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.6832, allocations: 4.516 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.6833, allocations: 3.672 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.6833, allocations: 1.156 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.6833, allocations: 0.7031 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6833, allocations: 1.25 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6833, allocations: 0.5156 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.6834, allocations: 97.06 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.6835, allocations: 91.45 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.6835, allocations: 6.016 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.6836, allocations: 8.375 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.6836, allocations: 4.25 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.6837, allocations: 2.156 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.835e-05/0.6837, allocations: 86.12 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6837, allocations: 1.156 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001859/0.6839, allocations: 9.938 kB / 1.092 GB, free: 1.438 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.0002989/0.6842, allocations: 0.642 MB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.6843, allocations: 29.19 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6843, allocations: 0 / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.6844, allocations: 16.22 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.6845, allocations: 2.984 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.6854, allocations: 1.172 MB / 1.094 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.6857, allocations: 0.6843 MB / 1.094 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.6857, allocations: 5.719 kB / 1.094 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.6857, allocations: 11.77 kB / 1.094 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.6857, allocations: 0 / 1.094 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.7024, allocations: 1.763 MB / 1.096 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/8.078, allocations: 9.328 kB / 1.096 GB, free: 14.58 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 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.mat","/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