Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000917/0.000917, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009204/0.0009204, allocations: 177 kB / 23.36 MB, free: 1.137 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.9704/0.9704, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.423/2.423, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.58e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001219/0.001235, allocations: 0.7833 MB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.00203, allocations: 0.9014 MB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.002062, allocations: 0 / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.002088, allocations: 7.922 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.002156, allocations: 23.8 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.002276, allocations: 39.89 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.002358, allocations: 87.81 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/0.00243, allocations: 23.91 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.492e-05/0.002515, allocations: 51.89 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.002573, allocations: 39.88 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.002593, allocations: 8 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.002604, allocations: 8 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.002627, allocations: 23.92 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.002656, allocations: 23.91 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.902e-05/0.002745, allocations: 71.72 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002747, allocations: 4 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.6e-07/0.002748, allocations: 0 / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.00275, allocations: 0 / 0.8406 GB, free: 12.09 MB / 0.8073 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.0002946/0.003045, allocations: 272.7 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.003074, allocations: 12.62 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.003103, allocations: 12.92 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.775e-05/0.00318, allocations: 125.6 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.003195, allocations: 384 / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.003208, allocations: 8.375 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.003336, allocations: 90.89 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.003343, allocations: 7.922 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.003352, allocations: 0 / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003356, allocations: 4 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.122e-05/0.003397, allocations: 23.61 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.003655, allocations: 200.1 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.003861, allocations: 66.47 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.003885, allocations: 20.84 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.003898, allocations: 0 / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.003916, allocations: 30.56 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.003917, allocations: 0 / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001236/0.00404, allocations: 69.84 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.004067, allocations: 55.41 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.997e-05/0.004127, allocations: 122.7 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.004144, allocations: 25.7 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.004176, allocations: 96.03 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.0042, allocations: 31.77 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.00423, allocations: 21.72 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.004312, allocations: 318.8 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.00433, allocations: 8 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.004348, allocations: 12.05 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.772e-05/0.004396, allocations: 36.81 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.004398, allocations: 7.875 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.792e-05/0.004466, allocations: 53.69 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.004476, allocations: 8 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.004479, allocations: 0 / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.455e-06/0.004488, allocations: 0 / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.004558, allocations: 19.97 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.004561, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.004593, allocations: 4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.004602, allocations: 11.98 kB / 0.8423 GB, free: 10.2 MB / 0.8073 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 5.729e-05/0.004659, allocations: 109.8 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.004674, allocations: 7.938 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.741e-05/0.004762, allocations: 78.08 kB / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.004764, allocations: 0 / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.004766, allocations: 0 / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.004769, allocations: 7.984 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.997e-05/0.004859, allocations: 85.77 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.004861, allocations: 8 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.004907, allocations: 15.98 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.004909, allocations: 3.938 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.004916, allocations: 11.98 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.004917, allocations: 0 / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004918, allocations: 0 / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.141e-05/0.005009, allocations: 151.5 kB / 0.8428 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-06/0.005018, allocations: 7.938 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.005027, allocations: 0 / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.005072, allocations: 7.984 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.005121, allocations: 35.89 kB / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.005124, allocations: 0 / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.643e-05/0.005141, allocations: 16.84 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005141, allocations: 4 kB / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001178/0.005259, allocations: 19.95 kB / 0.8429 GB, free: 9.586 MB / 0.8073 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.096e-05/0.00532, allocations: 76.42 kB / 0.843 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.005392, allocations: 36.77 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.005394, allocations: 0 / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.794e-05/0.005432, allocations: 37.38 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.005553, allocations: 8 kB / 0.843 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.005796, allocations: 172.9 kB / 0.8432 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.032e-05/0.005826, allocations: 55.36 kB / 0.8432 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.67e-05/0.005863, allocations: 15.98 kB / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.209e-05/0.005935, allocations: 67.36 kB / 0.8433 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of SimCode: time 3.9e-07/0.005935, allocations: 0 / 0.8433 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of Templates: time 0.002834/0.00877, allocations: 1.722 MB / 0.845 GB, free: 7.355 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.2387068420648575]