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.001406/0.001406, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001534/0.001534, allocations: 161 kB / 23.82 MB, free: 0.75 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.005/1.005, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.97/1.97, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.713e-06/1.713e-06, allocations: 0 / 0.8115 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.927e-05, allocations: 9.359 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001803/0.001822, allocations: 1.508 MB / 0.813 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003585/0.002181, allocations: 196.7 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.002223, allocations: 0 / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.002252, allocations: 5.531 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.002463, allocations: 27.78 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.002606, allocations: 51.86 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.002691, allocations: 64.55 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.002777, allocations: 7.984 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.002846, allocations: 40.39 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.62e-05/0.002913, allocations: 21.61 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.002933, allocations: 4 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.002944, allocations: 4 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.002967, allocations: 15.98 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.003005, allocations: 24.56 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.831e-05/0.003093, allocations: 35.95 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003095, allocations: 1.312 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003096, allocations: 0 / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.0031, allocations: 0 / 0.8135 GB, free: 15.68 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.0004305/0.00353, allocations: 381.7 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.003566, allocations: 8.031 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.003607, allocations: 8.875 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.109e-05/0.003698, allocations: 121.9 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.003719, allocations: 12.31 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.003734, allocations: 4.375 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.003871, allocations: 137.4 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.003881, allocations: 1.875 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.003893, allocations: 4.375 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.003902, allocations: 4.375 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.003936, allocations: 19.91 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.00428, allocations: 277.4 kB / 0.8144 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.202e-05/0.004362, allocations: 43.05 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.00439, allocations: 23.77 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.004396, allocations: 0.8438 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.562e-05/0.004491, allocations: 72.94 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.004493, allocations: 6.156 kB / 0.8146 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001549/0.004648, allocations: 65.69 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.004697, allocations: 106.8 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/0.004767, allocations: 165.9 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.00478, allocations: 25.7 kB / 0.8149 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.004822, allocations: 138.8 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.004841, allocations: 14.03 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.004876, allocations: 35.36 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.00498, allocations: 492.1 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.004999, allocations: 8 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.005051, allocations: 98.45 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.005102, allocations: 31.67 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005105, allocations: 0.5 kB / 0.8157 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.885e-05/0.005183, allocations: 66.11 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.005194, allocations: 5.906 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.005199, allocations: 4 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.005214, allocations: 0 / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.005276, allocations: 8 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.005282, allocations: 3.938 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.005334, allocations: 14.3 kB / 0.8158 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.00534, allocations: 0 / 0.8158 GB, free: 13.06 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 6.577e-05/0.005406, allocations: 160.5 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.005418, allocations: 15.88 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.005437, allocations: 7.797 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.005438, allocations: 5.156 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.005442, allocations: 3.984 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005445, allocations: 0 / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.122e-05/0.005516, allocations: 125.1 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.005517, allocations: 0.5312 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.005527, allocations: 4.875 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005529, allocations: 0 / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.005536, allocations: 8.781 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005537, allocations: 0 / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005538, allocations: 0 / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.074e-05/0.005628, allocations: 111.8 kB / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.005655, allocations: 7.984 kB / 0.8162 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.005673, allocations: 3.938 kB / 0.8162 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.00571, allocations: 8 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.005739, allocations: 7.984 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.005743, allocations: 0 / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.00578, allocations: 127.2 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00578, allocations: 0 / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001292/0.00591, allocations: 23.89 kB / 0.8164 GB, free: 12.39 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.8e-05/0.005978, allocations: 101.4 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.006079, allocations: 39.61 kB / 0.8165 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.00608, allocations: 0 / 0.8165 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.946e-05/0.006109, allocations: 23.67 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.006218, allocations: 5.031 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.006618, allocations: 138.3 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.874e-05/0.006646, allocations: 56.42 kB / 0.8168 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.006676, allocations: 11.98 kB / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.006704, allocations: 9.594 kB / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.006704, allocations: 0 / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of Templates: time 0.002468/0.009172, allocations: 1 MB / 0.8178 GB, free: 11.03 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.37278604414314]