Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.0009621/0.0009621, 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.001169/0.001169, 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 0.9925/0.9925, 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.901/1.901, allocations: 377.9 MB / 0.6239 GB, free: 8.414 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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 4 kB / 0.8121 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.809e-05, allocations: 3.078 kB / 0.8121 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001357/0.001385, allocations: 0.663 MB / 0.8127 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001611/0.001546, allocations: 15.98 kB / 0.8127 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.001586, allocations: 0.9375 kB / 0.8127 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 9.625e-05/0.001683, allocations: 3.938 kB / 0.8127 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.869e-05/0.001721, allocations: 5.156 kB / 0.8127 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 9.374e-05/0.001815, allocations: 7.984 kB / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.109e-05/0.001906, allocations: 43.89 kB / 0.8128 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.002006, allocations: 16.62 kB / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.002044, allocations: 19.98 kB / 0.8128 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.883e-05/0.002073, allocations: 16.84 kB / 0.8128 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.002092, allocations: 4 kB / 0.8129 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.002102, allocations: 4.781 kB / 0.8129 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.002128, allocations: 7.938 kB / 0.8129 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.002152, allocations: 13.67 kB / 0.8129 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.902e-05/0.002231, allocations: 35.78 kB / 0.8129 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002232, allocations: 0 / 0.8129 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.52e-07/0.002233, allocations: 0 / 0.8129 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.002236, allocations: 0 / 0.8129 GB, free: 0.5352 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002684/0.002505, allocations: 382 kB / 0.8133 GB, free: 128 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.002542, allocations: 8.031 kB / 0.8133 GB, free: 120 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.002569, allocations: 12.89 kB / 0.8133 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.00268, allocations: 120.5 kB / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.002688, allocations: 4.875 kB / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.002699, allocations: 9.281 kB / 0.8134 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.819e-05/0.002777, allocations: 58.09 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.002782, allocations: 192 / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.002791, allocations: 5 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.002795, allocations: 1.969 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.002814, allocations: 11.94 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.003135, allocations: 0.5064 MB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.862e-05/0.003223, allocations: 269.4 kB / 0.8142 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.003257, allocations: 126.9 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.003288, allocations: 123.7 kB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.003329, allocations: 157.3 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.00333, allocations: 3.938 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.397e-05/0.003384, allocations: 30.19 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.003433, allocations: 172.2 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/0.003529, allocations: 177.9 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.003537, allocations: 25.7 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.003745, allocations: 146.8 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.003746, allocations: 0.5938 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.003772, allocations: 19.38 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.003892, allocations: 496.8 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-06/0.003899, allocations: 0 / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.003907, allocations: 4.688 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.155e-05/0.003939, allocations: 20.58 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.003941, allocations: 0 / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.34e-05/0.004024, allocations: 43.03 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.004037, allocations: 4.625 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.004042, allocations: 0 / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.00405, allocations: 1.75 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.0041, allocations: 4 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.004103, allocations: 0 / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.613e-05/0.004119, allocations: 4 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.004129, allocations: 3.984 kB / 0.8157 GB, free: 13.44 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 (1): * Single equations (assignments): 1 * 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 9.538e-05/0.004225, allocations: 281.9 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.00427, allocations: 148.8 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.004328, allocations: 152.4 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.588e-05/0.004394, allocations: 268 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.928e-05/0.004453, allocations: 272.2 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.23e-05/0.004515, allocations: 275 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.004707, allocations: 492.4 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/0.004753, allocations: 144.9 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.004797, allocations: 152.9 kB / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.697e-05/0.004864, allocations: 276 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.004928, allocations: 268.1 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.267e-05/0.004991, allocations: 268 kB / 0.8186 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.046e-05/0.005071, allocations: 276.1 kB / 0.8189 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.005223, allocations: 445.4 kB / 0.8193 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.005276, allocations: 152.8 kB / 0.8194 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.005353, allocations: 276 kB / 0.8197 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.17e-05/0.005415, allocations: 148.9 kB / 0.8198 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.005487, allocations: 268.6 kB / 0.8201 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.005527, allocations: 144.9 kB / 0.8202 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.991e-05/0.005587, allocations: 140 kB / 0.8204 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.51e-07/0.005587, allocations: 0.5625 kB / 0.8204 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001594/0.005746, allocations: 11.94 kB / 0.8204 GB, free: 8.508 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 (0): * Single equations (assignments): 0 * 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.0001537/0.0059, allocations: 212.4 kB / 0.8206 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.004e-05/0.00597, allocations: 15.62 kB / 0.8206 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.005972, allocations: 0 / 0.8206 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-06/0.005974, allocations: 6.562 kB / 0.8206 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.006396, allocations: 0.7062 MB / 0.8213 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.006679, allocations: 253.4 kB / 0.8215 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.006718, allocations: 59.34 kB / 0.8216 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.006745, allocations: 0 / 0.8216 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.006793, allocations: 70.2 kB / 0.8217 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of SimCode: time 9.62e-07/0.006794, allocations: 0.8125 kB / 0.8217 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of Templates: time 0.002026/0.00882, allocations: 335.9 kB / 0.822 GB, free: 6.812 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.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: 4.976192487869412]