Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001269/0.001269, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001343/0.001343, allocations: 169 kB / 24.28 MB, free: 276 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.063/1.063, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.961/1.961, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.628e-05/3.934e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.003606/0.003645, allocations: 0.716 MB / 0.8123 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.004947, allocations: 0.8571 MB / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.004998, allocations: 0 / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.005034, allocations: 3.938 kB / 0.8131 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/0.005119, allocations: 3.938 kB / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.005266, allocations: 17.31 kB / 0.8132 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.005381, allocations: 47.84 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.005504, allocations: 8 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.005626, allocations: 23.92 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.005682, allocations: 17.56 kB / 0.8132 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.005714, allocations: 4 kB / 0.8133 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.005728, allocations: 4 kB / 0.8133 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.005752, allocations: 7.938 kB / 0.8133 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.005787, allocations: 17.66 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.005907, allocations: 31.84 kB / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.005912, allocations: 0 / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.403e-06/0.005913, allocations: 0 / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.005919, allocations: 0 / 0.8133 GB, free: 244 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005323/0.006451, allocations: 377.5 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.006502, allocations: 8.031 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.00656, allocations: 9.422 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.006686, allocations: 121 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.006701, allocations: 0.9062 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.006714, allocations: 384 / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.006922, allocations: 68.12 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.006932, allocations: 192 / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.006944, allocations: 384 / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.006954, allocations: 0.9062 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.00709, allocations: 17.3 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.007466, allocations: 263.8 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.604e-05/0.007542, allocations: 31 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.00757, allocations: 20.91 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.00759, allocations: 4 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.007615, allocations: 37.39 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 2.795e-06/0.007618, allocations: 1 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001725/0.00779, allocations: 49.56 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.007822, allocations: 52.34 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.007909, allocations: 173.9 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.007926, allocations: 25.7 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.007972, allocations: 131.8 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.007994, allocations: 11.95 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.008024, allocations: 16.22 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.008149, allocations: 0.4923 MB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.008167, allocations: 0 / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.008182, allocations: 5.125 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.008218, allocations: 15.69 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00822, allocations: 0 / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.406e-05/0.008284, allocations: 50.95 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.008302, allocations: 11.94 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.008306, allocations: 0 / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.00832, allocations: 5.375 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.008418, allocations: 15.98 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.008423, allocations: 0 / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.008449, allocations: 11.98 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.008455, allocations: 3.219 kB / 0.8153 GB, free: 14.04 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 6.511e-05/0.00852, allocations: 156.6 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.008534, allocations: 0 / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.692e-05/0.008631, allocations: 57.56 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008633, allocations: 0 / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.008638, allocations: 3.984 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.008641, allocations: 0 / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.605e-05/0.008737, allocations: 129.1 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.008738, allocations: 1.938 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.008774, allocations: 8 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.008776, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.008782, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.008784, allocations: 3.938 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.008784, allocations: 0.8438 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.008885, allocations: 195.9 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-06/0.008892, allocations: 4.406 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.008903, allocations: 0.8438 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.008942, allocations: 9.219 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.008984, allocations: 7.984 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.008988, allocations: 7.938 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4e-05/0.009028, allocations: 127.2 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009028, allocations: 2.719 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001371/0.009165, allocations: 8 kB / 0.816 GB, free: 13.27 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.0001108/0.009276, allocations: 95.23 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.009368, allocations: 27.67 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.009369, allocations: 0 / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.392e-05/0.009393, allocations: 18.39 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.009598, allocations: 4 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.009898, allocations: 142.2 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.287e-05/0.009931, allocations: 55.3 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.009952, allocations: 4.938 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.009981, allocations: 13.56 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.009981, allocations: 0 / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of Templates: time 0.002325/0.01231, allocations: 0.7373 MB / 0.817 GB, free: 12.15 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.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.274402472190559]