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.001516/0.001516, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.001625/0.001625, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.544/2.544, allocations: 437.1 MB / 0.7111 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001954, allocations: 65.52 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3151, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00296/0.3181, allocations: 1.46 MB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004264/0.3186, allocations: 181 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.3186, allocations: 0 / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.3187, allocations: 0 / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.3189, allocations: 23.84 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.3191, allocations: 57.11 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.3192, allocations: 67.69 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.3193, allocations: 4 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.3194, allocations: 27.97 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.3195, allocations: 15.92 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.3195, allocations: 4 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.3195, allocations: 4 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.3196, allocations: 15.92 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.3196, allocations: 27.91 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.3198, allocations: 48.09 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3198, allocations: 4 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3198, allocations: 0 / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3198, allocations: 0 / 1.02 GB, free: 8.715 MB / 0.795 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.0005712/0.3204, allocations: 349.7 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3204, allocations: 16.02 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.3205, allocations: 4.938 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.3206, allocations: 176.2 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3206, allocations: 4.375 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3207, allocations: 4.375 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3208, allocations: 76.81 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3208, allocations: 192 / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3209, allocations: 3.938 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3209, allocations: 3.938 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.3209, allocations: 19.92 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.3213, allocations: 276.8 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3215, allocations: 42.56 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.3215, allocations: 12.86 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.3215, allocations: 4.078 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.3217, allocations: 63.33 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3217, allocations: 4 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002294/0.3219, allocations: 69.88 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/0.322, allocations: 102.8 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.3221, allocations: 109.8 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3222, allocations: 29.64 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.3222, allocations: 88.05 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.3223, allocations: 15.83 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.3223, allocations: 17.72 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3225, allocations: 326.8 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.3225, allocations: 8 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.3226, allocations: 38.5 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3227, allocations: 20.86 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3227, allocations: 4 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001049/0.3228, allocations: 58.06 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3228, allocations: 4 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3228, allocations: 8.047 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3229, allocations: 8.031 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/0.3229, allocations: 4 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3229, allocations: 7.922 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.3231, allocations: 7.906 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3231, allocations: 4 kB / 1.022 GB, free: 6.504 MB / 0.795 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 0.0001029/0.3232, allocations: 121.8 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.3232, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.3232, allocations: 7.5 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3232, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3232, allocations: 4 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3233, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.3235, allocations: 173.6 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3235, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.3235, allocations: 4 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3235, allocations: 0 / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3235, allocations: 4 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3235, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3235, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.3237, allocations: 100.9 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.3238, allocations: 93 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3238, allocations: 0 / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3239, allocations: 7.984 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.324, allocations: 4 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.324, allocations: 7.938 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.324, allocations: 83.27 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3241, allocations: 0 / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001924/0.3243, allocations: 20 kB / 1.022 GB, free: 5.785 MB / 0.795 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.0001278/0.3244, allocations: 99.25 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.3245, allocations: 27.98 kB / 1.022 GB, free: 5.652 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3245, allocations: 7.938 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.3246, allocations: 15.98 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.3247, allocations: 7.938 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.3251, allocations: 145.1 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3254, allocations: 0.6807 MB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.3254, allocations: 11.44 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3254, allocations: 0 / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of Templates: time 0.002567/0.328, allocations: 0.831 MB / 1.024 GB, free: 3.91 MB / 0.795 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=400 -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/jenkins1/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