Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.521/1.521, allocations: 249.5 MB / 257 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 178 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000812/0.0008121, allocations: 96.02 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.002e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2405, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9097/1.15, allocations: 132.5 MB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.151, allocations: 78.7 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007651/1.158, allocations: 2.71 MB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.363e-06/1.158, allocations: 0 / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.355e-05/1.158, allocations: 0 / 1.017 GB, free: 3.008 MB / 0.6355 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.0003909/1.159, allocations: 343.9 kB / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.159, allocations: 8.031 kB / 1.018 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/1.159, allocations: 4 kB / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/1.159, allocations: 175 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/1.159, allocations: 3.938 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/1.159, allocations: 3.984 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.758e-05/1.159, allocations: 14.69 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/1.159, allocations: 71.19 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.159, allocations: 0 / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/1.159, allocations: 0 / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/1.159, allocations: 0 / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/1.16, allocations: 241 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.07e-05/1.16, allocations: 37.81 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.432e-05/1.16, allocations: 20.73 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/1.16, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/1.16, allocations: 66.86 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/1.16, allocations: 4 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001846/1.16, allocations: 52.56 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.16, allocations: 102.8 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/1.16, allocations: 96.25 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/1.16, allocations: 30.72 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/1.161, allocations: 84.14 kB / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/1.161, allocations: 19.06 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/1.161, allocations: 0 / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.161, allocations: 314.8 kB / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.285e-05/1.161, allocations: 14.19 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/1.161, allocations: 29.88 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/1.161, allocations: 7.531 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.161, allocations: 7.938 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.471e-05/1.161, allocations: 52.31 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.161, allocations: 8 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.161, allocations: 3.938 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.161, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/1.161, allocations: 11.55 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/1.161, allocations: 0 / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.161e-05/1.161, allocations: 8 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/1.161, allocations: 4 kB / 1.019 GB, free: 1.055 MB / 0.6355 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 9.223e-05/1.161, allocations: 112.9 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/1.161, allocations: 4 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/1.161, allocations: 8.062 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/1.161, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.161, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.161, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/1.162, allocations: 152.8 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.162, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/1.162, allocations: 7.938 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.162, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/1.162, allocations: 3.984 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.162, allocations: 448 / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.162, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/1.162, allocations: 80.3 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/1.162, allocations: 93.08 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/1.162, allocations: 4 kB / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/1.162, allocations: 15.98 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/1.162, allocations: 7.984 kB / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-06/1.162, allocations: 0 / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.413e-05/1.162, allocations: 83.03 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/1.162, allocations: 0 / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001827/1.162, allocations: 12 kB / 1.02 GB, free: 420 kB / 0.6355 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.0001564/1.162, allocations: 103.2 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000115/1.163, allocations: 31.05 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.163, allocations: 4 kB / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/1.163, allocations: 11.69 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/1.163, allocations: 5.219 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/1.163, allocations: 67.19 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/1.163, allocations: 0.6884 MB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.6e-05/1.163, allocations: 4 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/1.163, allocations: 11.44 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.163, allocations: 4 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of Templates: time 0.002993/1.166, allocations: 0.7469 MB / 1.021 GB, free: 14.75 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches