Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 80.3 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 171.1 kB / 24.87 MB, free: 8.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9482/0.9482, allocations: 177.1 MB / 205.3 MB, free: 5.133 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.935/1.935, allocations: 377.9 MB / 0.6247 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.511e-05, allocations: 6.312 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.007242/0.007267, allocations: 1.516 MB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0003697/0.007637, allocations: 191.2 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-05/0.007678, allocations: 0 / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.007703, allocations: 1.938 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.007899, allocations: 31.72 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.008044, allocations: 55.86 kB / 0.8146 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.407e-05/0.008138, allocations: 56.5 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.698e-05/0.008215, allocations: 7.984 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/0.008287, allocations: 40.66 kB / 0.8147 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.008353, allocations: 15.97 kB / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.008374, allocations: 8.906 kB / 0.8147 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.008384, allocations: 4 kB / 0.8147 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.00841, allocations: 20.56 kB / 0.8147 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.008439, allocations: 12 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.293e-05/0.008522, allocations: 41.06 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.008525, allocations: 0 / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.008526, allocations: 4 kB / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.008531, allocations: 0.5312 kB / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004099/0.00894, allocations: 385 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.008972, allocations: 16.5 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.009005, allocations: 4.938 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006101/0.01511, allocations: 117.8 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.01512, allocations: 4.375 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.01514, allocations: 4.375 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.01528, allocations: 151.6 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.01529, allocations: 192 / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.0153, allocations: 384 / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.0153, allocations: 384 / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.01533, allocations: 15.92 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.01565, allocations: 252.5 kB / 0.8157 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.252e-05/0.01574, allocations: 47.64 kB / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.01576, allocations: 12.28 kB / 0.8157 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.01576, allocations: 1.344 kB / 0.8157 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.705e-05/0.01586, allocations: 69.09 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.01586, allocations: 0 / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001521/0.01601, allocations: 75.08 kB / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.01606, allocations: 102.8 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.01614, allocations: 169.9 kB / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.01615, allocations: 25.7 kB / 0.8161 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.01621, allocations: 136.7 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.01623, allocations: 15.89 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.01628, allocations: 31.36 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.01641, allocations: 0.4884 MB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.01643, allocations: 7.984 kB / 0.8168 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.01649, allocations: 91.69 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.01653, allocations: 31.61 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01654, allocations: 0 / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.233e-05/0.01663, allocations: 57.64 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.01665, allocations: 13.28 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01665, allocations: 0.5 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.01666, allocations: 3.984 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.01673, allocations: 12.52 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.01674, allocations: 0 / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.0168, allocations: 8.531 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.0168, allocations: 0.875 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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.027e-05/0.01689, allocations: 177.2 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.01691, allocations: 4 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.01693, allocations: 15.75 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01694, allocations: 0.5312 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.01694, allocations: 1.375 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01694, allocations: 0 / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.207e-05/0.01703, allocations: 109.2 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01704, allocations: 0 / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.01705, allocations: 5.188 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01705, allocations: 0 / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.01706, allocations: 0 / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01706, allocations: 0.6562 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01706, allocations: 3.938 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.01716, allocations: 97.14 kB / 0.8174 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.01719, allocations: 11.92 kB / 0.8174 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.01721, allocations: 8.906 kB / 0.8174 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.672e-05/0.01726, allocations: 4 kB / 0.8174 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.01729, allocations: 12.7 kB / 0.8174 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.01729, allocations: 0 / 0.8174 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.01733, allocations: 128.5 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01733, allocations: 4 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001778/0.01751, allocations: 15.95 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.808e-05/0.01761, allocations: 100.1 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.0177, allocations: 32.44 kB / 0.8177 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.0177, allocations: 4 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.01774, allocations: 33.27 kB / 0.8177 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.02088, allocations: 5.219 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.02128, allocations: 130.3 kB / 0.8179 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.02e-05/0.02131, allocations: 56.23 kB / 0.8179 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.02134, allocations: 11.45 kB / 0.8179 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.894e-05/0.02144, allocations: 94.17 kB / 0.818 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of SimCode: time 6.12e-07/0.02144, allocations: 0 / 0.818 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.005844/0.02728, allocations: 1.071 MB / 0.8191 GB, free: 10.73 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.248544443864375]