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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 387.1 MB / 399.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009959/0.0009961, allocations: 184.1 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.3 MB / 0.7871 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008638/0.0008638, allocations: 87.95 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.011e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2913, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.33, allocations: 149.8 MB / 1.359 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/1.33, allocations: 78.98 kB / 1.359 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007423/1.337, allocations: 2.737 MB / 1.361 GB, free: 34.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.337, allocations: 7.844 kB / 1.361 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.337, allocations: 0 / 1.361 GB, free: 34.43 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000294/1.338, allocations: 335.9 kB / 1.362 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.338, allocations: 7.688 kB / 1.362 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/1.338, allocations: 8.344 kB / 1.362 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/1.338, allocations: 168.9 kB / 1.362 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/1.338, allocations: 0 / 1.362 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/1.338, allocations: 4.766 kB / 1.362 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/1.338, allocations: 72.02 kB / 1.362 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/1.338, allocations: 0 / 1.362 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.338, allocations: 5.672 kB / 1.362 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.338, allocations: 0 / 1.362 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/1.338, allocations: 13.25 kB / 1.362 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/1.339, allocations: 257.8 kB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/1.339, allocations: 41.98 kB / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/1.339, allocations: 16.27 kB / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/1.339, allocations: 2.109 kB / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/1.339, allocations: 63.36 kB / 1.362 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/1.339, allocations: 3.938 kB / 1.362 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001749/1.339, allocations: 65.33 kB / 1.362 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/1.339, allocations: 106.8 kB / 1.363 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.785e-05/1.339, allocations: 102 kB / 1.363 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/1.339, allocations: 25.7 kB / 1.363 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/1.339, allocations: 91.2 kB / 1.363 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/1.339, allocations: 13.38 kB / 1.363 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/1.339, allocations: 0 / 1.363 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/1.339, allocations: 324.4 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/1.339, allocations: 10.91 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/1.339, allocations: 37.62 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.774e-05/1.339, allocations: 8.438 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.339, allocations: 0 / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.757e-05/1.34, allocations: 58.94 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.34, allocations: 7.719 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.34, allocations: 0 / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.34, allocations: 0 / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/1.34, allocations: 5.375 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/1.34, allocations: 7.719 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.059e-05/1.34, allocations: 15.33 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/1.34, allocations: 0 / 1.363 GB, free: 32.69 MB / 0.8386 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/1.34, allocations: 113.3 kB / 1.363 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/1.34, allocations: 3.906 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/1.34, allocations: 5.188 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.34, allocations: 3.688 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.34, allocations: 0 / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/1.34, allocations: 0 / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.53e-05/1.34, allocations: 175.7 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/1.34, allocations: 0 / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/1.34, allocations: 5.109 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/1.34, allocations: 0 / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/1.34, allocations: 0 / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.34, allocations: 1.516 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.34, allocations: 0 / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/1.34, allocations: 93.98 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/1.34, allocations: 99.41 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/1.34, allocations: 4 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/1.34, allocations: 9.578 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/1.34, allocations: 6.938 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/1.34, allocations: 0 / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.512e-05/1.34, allocations: 88.08 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.34, allocations: 0 / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001777/1.341, allocations: 10.97 kB / 1.364 GB, free: 32.12 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000124/1.341, allocations: 109.4 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001045/1.341, allocations: 26.47 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.341, allocations: 3.875 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.505e-05/1.341, allocations: 16.84 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/1.341, allocations: 12.69 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/1.341, allocations: 68.11 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/1.342, allocations: 0.6815 MB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.651e-05/1.342, allocations: 13.56 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/1.342, allocations: 7.438 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.342, allocations: 0 / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of Templates: time 0.002686/1.344, allocations: 0.7951 MB / 1.365 GB, free: 31.15 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (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 & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches