Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.00151/0.00151, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001899/0.001899, allocations: 169 kB / 24.27 MB, free: 284 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.9613/0.9613, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.892/1.892, allocations: 377.8 MB / 0.6239 GB, free: 8.559 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.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.656e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.0016/0.001617, allocations: 0.7838 MB / 0.8123 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004009/0.005626, allocations: 0.9069 MB / 0.8132 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.005676, allocations: 0 / 0.8132 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.005708, allocations: 7.875 kB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.005792, allocations: 20.89 kB / 0.8132 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.005962, allocations: 39.83 kB / 0.8133 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.006072, allocations: 88.59 kB / 0.8133 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.006179, allocations: 15.94 kB / 0.8134 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.00628, allocations: 53.56 kB / 0.8134 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.006351, allocations: 43.88 kB / 0.8134 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.006378, allocations: 8 kB / 0.8135 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.006391, allocations: 8 kB / 0.8135 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.006416, allocations: 19.92 kB / 0.8135 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.006451, allocations: 29.44 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.006585, allocations: 63.81 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.006588, allocations: 3.984 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.91e-07/0.006589, allocations: 4 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.006593, allocations: 1.156 kB / 0.8136 GB, free: 15.96 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004801/0.007073, allocations: 396.4 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.007115, allocations: 13.41 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.007178, allocations: 12.89 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.007302, allocations: 124.4 kB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.007324, allocations: 4.375 kB / 0.8141 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.007339, allocations: 6.125 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.007544, allocations: 94.89 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.007552, allocations: 3.938 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.007566, allocations: 4.469 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.007575, allocations: 0 / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.639e-05/0.007661, allocations: 36.97 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.008087, allocations: 320.1 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.008427, allocations: 84.47 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.008475, allocations: 22.28 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.008495, allocations: 4 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.008519, allocations: 37.39 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.00852, allocations: 0 / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002406/0.008761, allocations: 89.58 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.008794, allocations: 51.41 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.811e-05/0.008892, allocations: 186.3 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.008904, allocations: 25.7 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.008961, allocations: 139.6 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.008987, allocations: 23.8 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.009032, allocations: 27.89 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.009157, allocations: 0.4978 MB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.009196, allocations: 8 kB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.009232, allocations: 15.98 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.707e-05/0.009309, allocations: 32.64 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.009311, allocations: 0.5938 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001353/0.009446, allocations: 82.33 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.00946, allocations: 11.98 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.009464, allocations: 0.5 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.009476, allocations: 0 / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.009567, allocations: 17.11 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.009572, allocations: 0 / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.00961, allocations: 12.91 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.009617, allocations: 3.984 kB / 0.8159 GB, free: 13.42 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * 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 7.005e-05/0.009687, allocations: 161.4 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.009707, allocations: 11.95 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.009843, allocations: 84.25 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.009847, allocations: 7.984 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.00985, allocations: 0 / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009853, allocations: 0 / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.009964, allocations: 151.2 kB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.009965, allocations: 0 / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.01002, allocations: 19.98 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01002, allocations: 0 / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01003, allocations: 4 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01003, allocations: 0 / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01003, allocations: 3.938 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.01017, allocations: 233.2 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.01017, allocations: 11.94 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.01019, allocations: 0 / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.632e-05/0.01023, allocations: 4 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.01029, allocations: 24.47 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.0103, allocations: 9.859 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.01034, allocations: 135.6 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01034, allocations: 0 / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001417/0.01048, allocations: 12 kB / 0.8167 GB, free: 12.5 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 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 6.518e-05/0.01055, allocations: 96.59 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.01066, allocations: 47.59 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.01066, allocations: 1.031 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.662e-05/0.0107, allocations: 35.67 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.01088, allocations: 27.3 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.01117, allocations: 171 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.361e-05/0.0112, allocations: 63.34 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.01124, allocations: 9.625 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.01129, allocations: 24.48 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of SimCode: time 4.7e-07/0.01129, allocations: 0 / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.002811/0.0141, allocations: 1.719 MB / 0.8188 GB, free: 10.3 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_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.231726918136701]