Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.0009434/0.0009434, 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.0009475/0.0009475, 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 0.9635/0.9635, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.901/1.901, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.041e-05, allocations: 7.031 kB / 0.8116 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001347/0.001378, allocations: 0.7269 MB / 0.8123 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009798/0.002358, allocations: 0.844 MB / 0.8131 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.002408, allocations: 4 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.002449, allocations: 3.938 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.552e-05/0.002545, allocations: 4.562 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.002697, allocations: 17.39 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.002805, allocations: 43.84 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.002956, allocations: 8.047 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.003067, allocations: 29.06 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.003122, allocations: 11.98 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.003153, allocations: 4 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.003166, allocations: 7.938 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.003192, allocations: 8.625 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.003222, allocations: 12.89 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.003352, allocations: 39.83 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003355, allocations: 0 / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.403e-06/0.003356, allocations: 0.6562 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.003362, allocations: 0 / 0.8133 GB, free: 15.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004777/0.003839, allocations: 373.4 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.003892, allocations: 9.281 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.00395, allocations: 8.891 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.004066, allocations: 116.5 kB / 0.8138 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.004083, allocations: 6.344 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.004094, allocations: 384 / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.004282, allocations: 74.91 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.004291, allocations: 192 / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.004302, allocations: 4.312 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.004311, allocations: 1.375 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.42e-05/0.004346, allocations: 7.938 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.004735, allocations: 255.9 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.004841, allocations: 40.58 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.004874, allocations: 11.69 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.004898, allocations: 3.938 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.004925, allocations: 38.36 kB / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.004927, allocations: 0 / 0.8142 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001992/0.005126, allocations: 50.47 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.005171, allocations: 51.41 kB / 0.8143 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.005281, allocations: 166.5 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.005296, allocations: 25.7 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.005359, allocations: 143.5 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.005388, allocations: 7.938 kB / 0.8147 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.005424, allocations: 24 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.005555, allocations: 492.1 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.005577, allocations: 5.062 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.005594, allocations: 11.92 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.518e-05/0.005639, allocations: 16.22 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.005641, allocations: 0 / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.449e-05/0.005726, allocations: 50.98 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.005747, allocations: 7.938 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.005753, allocations: 0 / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.005773, allocations: 5.156 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.005878, allocations: 4 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.005884, allocations: 4 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.005911, allocations: 8.516 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.005919, allocations: 4.781 kB / 0.8153 GB, free: 13.7 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.967e-05/0.005999, allocations: 152.6 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.006016, allocations: 9.688 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.006154, allocations: 53.61 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.006159, allocations: 8 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.006163, allocations: 0 / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.006167, allocations: 2.312 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.006282, allocations: 124.6 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.006284, allocations: 0 / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.283e-05/0.006336, allocations: 11.98 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006339, allocations: 0 / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.006348, allocations: 4.797 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.006351, allocations: 3.938 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006352, allocations: 0 / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.006477, allocations: 199.2 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.006487, allocations: 4 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.0065, allocations: 0 / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.371e-05/0.006544, allocations: 11.92 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.006592, allocations: 8 kB / 0.8158 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.006596, allocations: 0 / 0.8158 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.481e-05/0.006661, allocations: 131.5 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006661, allocations: 3.938 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001406/0.006802, allocations: 8 kB / 0.816 GB, free: 12.92 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001102/0.006912, allocations: 92.38 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.007033, allocations: 25.2 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.007035, allocations: 0 / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/0.00706, allocations: 15.69 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.007285, allocations: 13.08 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.00762, allocations: 132 kB / 0.8162 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.037e-05/0.00766, allocations: 55.36 kB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.765e-05/0.007688, allocations: 8.797 kB / 0.8163 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.007722, allocations: 8.5 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of SimCode: time 8.01e-07/0.007723, allocations: 0.9375 kB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.002419/0.01014, allocations: 0.7943 MB / 0.8171 GB, free: 11.76 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.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.091116867959499]