Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.0009897/0.0009897, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001095/0.001095, allocations: 168.5 kB / 24.87 MB, free: 9.227 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 1.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.988/1.988, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.745e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.005575/0.005602, allocations: 1.519 MB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0004135/0.006016, allocations: 188.3 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.006062, allocations: 3.938 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.006091, allocations: 0.5625 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.006319, allocations: 29.02 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.006483, allocations: 55.8 kB / 0.8145 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.006583, allocations: 61.83 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.006667, allocations: 7.984 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.006746, allocations: 35.92 kB / 0.8146 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.267e-05/0.006819, allocations: 23.95 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.006839, allocations: 4 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.006852, allocations: 4 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.006883, allocations: 17.39 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.006918, allocations: 19.97 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003129/0.01005, allocations: 43.88 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.01005, allocations: 1.344 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01005, allocations: 0 / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.01006, allocations: 0 / 0.8148 GB, free: 15.42 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.000456/0.01051, allocations: 380.5 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.01055, allocations: 13.91 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.01059, allocations: 4.938 kB / 0.8151 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.225e-05/0.01068, allocations: 120.5 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.0107, allocations: 4.375 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.01071, allocations: 8.375 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.01087, allocations: 143.4 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.01088, allocations: 192 / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.0109, allocations: 384 / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.01091, allocations: 384 / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.055e-05/0.01094, allocations: 15.92 kB / 0.8154 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.01128, allocations: 252.9 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.604e-05/0.01136, allocations: 47.52 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.01138, allocations: 16.47 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.01139, allocations: 4.531 kB / 0.8157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.01149, allocations: 65.09 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.0115, allocations: 5.5 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001593/0.01166, allocations: 65.61 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.01171, allocations: 110.8 kB / 0.816 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.01179, allocations: 166.4 kB / 0.8161 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.01181, allocations: 29.7 kB / 0.8161 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.01186, allocations: 132.1 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.01189, allocations: 15.91 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.01193, allocations: 31.34 kB / 0.8163 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.01206, allocations: 0.4895 MB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.01207, allocations: 4 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.027e-05/0.01213, allocations: 94.42 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.01218, allocations: 25.06 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01218, allocations: 0 / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.033e-05/0.01227, allocations: 65.58 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.01228, allocations: 7.938 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01229, allocations: 0.9062 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.01229, allocations: 0 / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.01236, allocations: 13.27 kB / 0.817 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.01237, allocations: 0 / 0.817 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.01243, allocations: 13.11 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.01244, allocations: 4 kB / 0.817 GB, free: 12.85 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 8.203e-05/0.01252, allocations: 173.3 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.01253, allocations: 7.984 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.862e-05/0.01255, allocations: 7.75 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01255, allocations: 1.438 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.01255, allocations: 0 / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01256, allocations: 0 / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.792e-05/0.01265, allocations: 109.2 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.01265, allocations: 1.094 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.01266, allocations: 7.938 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.01266, allocations: 0 / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.01267, allocations: 5.953 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.01267, allocations: 0 / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.01267, allocations: 3.938 kB / 0.8173 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003165/0.01584, allocations: 100.4 kB / 0.8174 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.01587, allocations: 7.922 kB / 0.8174 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.01589, allocations: 10.38 kB / 0.8174 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.01597, allocations: 7.984 kB / 0.8174 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.01599, allocations: 3.938 kB / 0.8174 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.016, allocations: 4 kB / 0.8174 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.01605, allocations: 127.2 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01605, allocations: 0 / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001925/0.01624, allocations: 20.48 kB / 0.8176 GB, free: 12.21 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 0.0001276/0.01637, allocations: 100.5 kB / 0.8177 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.01647, allocations: 31.92 kB / 0.8177 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01648, allocations: 0 / 0.8177 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.01651, allocations: 24.36 kB / 0.8177 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.01666, allocations: 8.656 kB / 0.8177 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.01708, allocations: 138.9 kB / 0.8179 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.493e-05/0.01711, allocations: 59.34 kB / 0.8179 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.01715, allocations: 7.25 kB / 0.8179 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.01726, allocations: 90.17 kB / 0.818 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of SimCode: time 7.62e-07/0.01726, allocations: 0 / 0.818 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.006224/0.02348, allocations: 1.08 MB / 0.8191 GB, free: 10.7 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.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.332671917974949]