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.0008825/0.0008825, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009538/0.0009538, allocations: 173 kB / 24.28 MB, free: 272 kB / 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.9955/0.9955, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.897/1.897, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] 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.873e-06/1.873e-06, allocations: 0.875 kB / 0.8116 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.26e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001858/0.001881, allocations: 1.506 MB / 0.813 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004447/0.002326, allocations: 196.1 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.002371, allocations: 0 / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.002401, allocations: 3.938 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.002637, allocations: 25.02 kB / 0.8132 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.002788, allocations: 57 kB / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.838e-05/0.002877, allocations: 67.83 kB / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.002964, allocations: 0 / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.003043, allocations: 44.72 kB / 0.8134 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.003114, allocations: 15.97 kB / 0.8134 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.003138, allocations: 4 kB / 0.8134 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.003154, allocations: 5.188 kB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.003178, allocations: 19.92 kB / 0.8134 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.003217, allocations: 19.97 kB / 0.8135 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.431e-05/0.003311, allocations: 41.36 kB / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003313, allocations: 0 / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003314, allocations: 0 / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003318, allocations: 0 / 0.8135 GB, free: 28 kB / 0.7605 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.00046/0.003778, allocations: 386 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.003814, allocations: 8.031 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.003861, allocations: 4.938 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.003964, allocations: 120.6 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.003982, allocations: 10.16 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.003994, allocations: 4.375 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.004143, allocations: 145.4 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.00415, allocations: 192 / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.004162, allocations: 5.719 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.00417, allocations: 384 / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.004206, allocations: 15.92 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.004558, allocations: 271.7 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.801e-05/0.004646, allocations: 48.36 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.004672, allocations: 15.69 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.004679, allocations: 0.625 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.004779, allocations: 73.62 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.004781, allocations: 3.938 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001687/0.004949, allocations: 71.67 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.005001, allocations: 106.8 kB / 0.8147 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.005081, allocations: 166.2 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.005094, allocations: 25.7 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.005142, allocations: 138.8 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.005161, allocations: 12.44 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.005198, allocations: 32.08 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.005308, allocations: 496.1 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.005329, allocations: 9.484 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.00539, allocations: 102.6 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.539e-05/0.005435, allocations: 27.69 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.005438, allocations: 4 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.033e-05/0.005518, allocations: 66.2 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.005531, allocations: 8 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005535, allocations: 1.062 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.005547, allocations: 3.938 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.005612, allocations: 12.73 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.005618, allocations: 3.938 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.066e-05/0.005669, allocations: 8.719 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.005677, allocations: 7.984 kB / 0.8158 GB, free: 13.4 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 7.197e-05/0.005749, allocations: 165.8 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.005762, allocations: 7.938 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.641e-05/0.005778, allocations: 7.812 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.00578, allocations: 0.8125 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.005783, allocations: 0 / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005786, allocations: 0.9375 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.558e-05/0.005862, allocations: 124.6 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.005863, allocations: 1.344 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.005875, allocations: 7.984 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.005876, allocations: 0 / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.005885, allocations: 7.938 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.005886, allocations: 0.9688 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005887, allocations: 0 / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.108e-05/0.005978, allocations: 100.4 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.006004, allocations: 14.23 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.006023, allocations: 3.938 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.006064, allocations: 11.98 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.006095, allocations: 4 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.006101, allocations: 4.047 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.006141, allocations: 130.6 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006141, allocations: 0 / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001335/0.006274, allocations: 19.95 kB / 0.8164 GB, free: 12.74 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 7.923e-05/0.006353, allocations: 99.25 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.006454, allocations: 43.59 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006456, allocations: 0 / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.006483, allocations: 19.69 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.006597, allocations: 7.984 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.007026, allocations: 139.1 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.313e-05/0.007059, allocations: 59.84 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.007088, allocations: 4.562 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.007116, allocations: 13.06 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.007117, allocations: 3.938 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.002407/0.009524, allocations: 0.9922 MB / 0.8177 GB, free: 11.39 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.076349013019353]