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.0009249/0.0009249, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009005/0.0009005, allocations: 181 kB / 24.09 MB, free: 420 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 1.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.842/1.842, allocations: 377.9 MB / 0.6239 GB, free: 8.434 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.303e-06/1.303e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.587e-05, allocations: 3.625 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001933/0.001949, allocations: 1.504 MB / 0.8135 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0003305/0.00228, allocations: 196.4 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.002314, allocations: 0 / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.002337, allocations: 3.984 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.002522, allocations: 26.23 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.00265, allocations: 59.78 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.25e-05/0.002733, allocations: 67.83 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.606e-05/0.002809, allocations: 0 / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.515e-05/0.002884, allocations: 39.91 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.00296, allocations: 17.5 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.00298, allocations: 4 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.002993, allocations: 4 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.003016, allocations: 15.98 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.003049, allocations: 21.33 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.36e-05/0.003133, allocations: 43.88 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003135, allocations: 0 / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003135, allocations: 0 / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.003138, allocations: 0.5312 kB / 0.814 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.0004/0.003538, allocations: 389 kB / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.003574, allocations: 8.938 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.003603, allocations: 12.88 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.239e-05/0.003676, allocations: 108.6 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.003689, allocations: 5.156 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.003701, allocations: 8.375 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.003824, allocations: 145.8 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.003829, allocations: 1.562 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.003838, allocations: 4.375 kB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.003843, allocations: 4.375 kB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.1e-05/0.003864, allocations: 7.938 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.00412, allocations: 257.5 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.304e-05/0.004193, allocations: 51.08 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.004214, allocations: 16.52 kB / 0.8149 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.00422, allocations: 0.5312 kB / 0.8149 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.494e-05/0.004295, allocations: 65.08 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.004296, allocations: 0.7812 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001291/0.004425, allocations: 73.56 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.004478, allocations: 108 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.481e-05/0.004543, allocations: 161.9 kB / 0.8153 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.004557, allocations: 29.7 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.004601, allocations: 139.7 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.004619, allocations: 11.89 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.004655, allocations: 32.92 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.004772, allocations: 496.1 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.004785, allocations: 7.984 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.004834, allocations: 90.45 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/0.004869, allocations: 32.91 kB / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.004871, allocations: 0 / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.669e-05/0.004937, allocations: 65.58 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.004952, allocations: 11.81 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.004956, allocations: 0.5 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.004967, allocations: 4 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.005019, allocations: 11.98 kB / 0.8162 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.005022, allocations: 0 / 0.8162 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.00507, allocations: 8 kB / 0.8162 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.005076, allocations: 0 / 0.8162 GB, free: 12.87 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.118e-05/0.005157, allocations: 164.5 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.005168, allocations: 12.42 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.005189, allocations: 9.688 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005191, allocations: 0 / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.005193, allocations: 4 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.005197, allocations: 0 / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.49e-05/0.005272, allocations: 109.2 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005273, allocations: 1.469 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.005284, allocations: 7.938 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005285, allocations: 0 / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.005291, allocations: 4 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005291, allocations: 1.125 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.005293, allocations: 3.938 kB / 0.8165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.168e-05/0.005375, allocations: 96.42 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.005399, allocations: 8.844 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.005415, allocations: 3.984 kB / 0.8166 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.005453, allocations: 11.66 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.00548, allocations: 11.92 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.005483, allocations: 0 / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.005517, allocations: 124.5 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005517, allocations: 0 / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001187/0.005636, allocations: 19.94 kB / 0.8168 GB, free: 12.24 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 6.338e-05/0.005699, allocations: 108.2 kB / 0.8169 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.798e-05/0.005767, allocations: 38.03 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.005768, allocations: 0 / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-05/0.005792, allocations: 15.69 kB / 0.817 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.0001017/0.005893, allocations: 15.92 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.006208, allocations: 138.2 kB / 0.8171 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.592e-05/0.006234, allocations: 58.39 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.673e-05/0.00626, allocations: 7.984 kB / 0.8172 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.006338, allocations: 86.17 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.006338, allocations: 0 / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of Templates: time 0.002324/0.008662, allocations: 1.066 MB / 0.8183 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.050645314157009]