Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_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_10_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.001084/0.001084, 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.00123/0.00123, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.671, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003344/0.6744, allocations: 1.519 MB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004184/0.6749, allocations: 187.4 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.6749, allocations: 4 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.675, allocations: 0 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.6752, allocations: 15.92 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.6754, allocations: 55.5 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.6755, allocations: 59.77 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.6756, allocations: 8 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.224e-05/0.6757, allocations: 19.98 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.6758, allocations: 19.92 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.6758, allocations: 0 / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.878e-05/0.6758, allocations: 4 kB / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.6759, allocations: 15.91 kB / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.6759, allocations: 27.92 kB / 1.018 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.6761, allocations: 45.83 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.6761, allocations: 3.938 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6761, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.6761, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.7637 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.0005487/0.6766, allocations: 347.3 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.6767, allocations: 16.02 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.6767, allocations: 0.9375 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.6768, allocations: 168.4 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.6769, allocations: 4.375 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.6769, allocations: 8.375 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.677, allocations: 72.75 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.6771, allocations: 192 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.6771, allocations: 11.94 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6771, allocations: 0 / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.735e-05/0.6772, allocations: 15.98 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.6776, allocations: 280.7 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.937e-05/0.6777, allocations: 42.55 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.6778, allocations: 16.86 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.6778, allocations: 4.031 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.678, allocations: 71.38 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.678, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002266/0.6782, allocations: 69.62 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/0.6783, allocations: 106.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.6784, allocations: 105.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.6785, allocations: 25.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.6785, allocations: 88.05 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.6785, allocations: 11.89 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.6786, allocations: 17.72 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6787, allocations: 326.8 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.6788, allocations: 12 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.841e-05/0.6788, allocations: 30.56 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.165e-05/0.6789, allocations: 28.8 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6789, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.679, allocations: 57.69 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.679, allocations: 4 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.679, allocations: 4.031 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.679, allocations: 448 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.317e-05/0.6791, allocations: 8 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6791, allocations: 3.984 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.6793, allocations: 15.91 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.6793, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 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.444e-05/0.6794, allocations: 126.2 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.6794, allocations: 7.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.6794, allocations: 3.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.6794, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6794, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.6794, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.6796, allocations: 177.6 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6796, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.6796, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6796, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.6796, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.6797, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6797, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.6798, allocations: 97.05 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.6799, allocations: 88.94 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.6799, allocations: 8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.68, allocations: 7.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.68, allocations: 3.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.6801, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.583e-05/0.6801, allocations: 87.27 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6801, allocations: 4 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000192/0.6803, allocations: 12 kB / 1.021 GB, free: 13.89 MB / 0.7794 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.0001181/0.6805, allocations: 99.48 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.6806, allocations: 31.97 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6806, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.6806, allocations: 15.94 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.6808, allocations: 15.92 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.6811, allocations: 135.3 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.6814, allocations: 0.6834 MB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.6814, allocations: 4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.6815, allocations: 11.42 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of SimCode: time 1.744e-06/0.6815, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.002937/0.6844, allocations: 0.8246 MB / 1.023 GB, free: 12.02 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches