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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001929/0.001929, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.53 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.36, allocations: 157.4 MB / 1.052 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002578/0.3626, allocations: 1.517 MB / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000389/0.363, allocations: 191.4 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.3631, allocations: 4 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.3631, allocations: 0 / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.3634, allocations: 23.91 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.3635, allocations: 47.81 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.524e-05/0.3636, allocations: 59.75 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.094e-05/0.3637, allocations: 8 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.3638, allocations: 27.91 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.3639, allocations: 23.86 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3639, allocations: 0 / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.3639, allocations: 4 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.3639, allocations: 7.984 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.364, allocations: 23.91 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.592e-05/0.3641, allocations: 52.09 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3641, allocations: 0 / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.81e-07/0.3641, allocations: 0 / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.3641, allocations: 4 kB / 1.054 GB, free: 6.914 MB / 0.8106 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.0005265/0.3647, allocations: 343.5 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3647, allocations: 8.031 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.3647, allocations: 4.938 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3649, allocations: 172.3 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3649, allocations: 384 / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.3649, allocations: 8.375 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.3651, allocations: 76.75 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3651, allocations: 192 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.3651, allocations: 11.94 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3651, allocations: 0 / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/0.3652, allocations: 19.92 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.3656, allocations: 276.8 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.35e-05/0.3657, allocations: 42.52 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.3658, allocations: 20.94 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.3658, allocations: 0 / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.366, allocations: 63.39 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.366, allocations: 0 / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002171/0.3662, allocations: 73.61 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.3663, allocations: 114.8 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.3664, allocations: 101.9 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3664, allocations: 29.7 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.3665, allocations: 88.03 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.3665, allocations: 11.84 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.3665, allocations: 25.64 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3667, allocations: 318.8 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/0.3667, allocations: 12 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.3668, allocations: 34.56 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.3668, allocations: 24.86 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3668, allocations: 0 / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.3669, allocations: 61.62 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.3669, allocations: 4 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.367, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.367, allocations: 448 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.3671, allocations: 15.98 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3671, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3672, allocations: 19.92 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3672, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 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 9.961e-05/0.3673, allocations: 117.8 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.3673, allocations: 4 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.3674, allocations: 3.5 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3674, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3674, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3674, allocations: 4 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.3675, allocations: 173.6 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3675, allocations: 7.938 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.3676, allocations: 7.938 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3676, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3676, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.3676, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3676, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.3677, allocations: 93.05 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.3678, allocations: 89 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.3678, allocations: 8 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3679, allocations: 7.984 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.368, allocations: 0 / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.368, allocations: 7.984 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.3681, allocations: 83.28 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3681, allocations: 0 / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001935/0.3683, allocations: 12 kB / 1.057 GB, free: 4.008 MB / 0.8106 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.0001347/0.3684, allocations: 103.2 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.3685, allocations: 35.98 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3685, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.3686, allocations: 15.98 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.3687, allocations: 8.969 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.3691, allocations: 136.2 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.3693, allocations: 0.6886 MB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.3694, allocations: 12.31 kB / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.3694, allocations: 7.438 kB / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of SimCode: time 3.7e-07/0.3694, allocations: 0 / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of Templates: time 0.002842/0.3723, allocations: 0.8288 MB / 1.058 GB, free: 2.129 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/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