Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001508/0.001508, 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.00148/0.00148, allocations: 169 kB / 24.28 MB, free: 280 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.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.847/1.847, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.377e-06/3.377e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.469e-05, allocations: 8.703 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002167/0.002202, allocations: 0.7786 MB / 0.7879 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.003449, allocations: 0.906 MB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.003501, allocations: 4.906 kB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.003541, allocations: 7.922 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.592e-05/0.003637, allocations: 5.188 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.003857, allocations: 47.81 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.003996, allocations: 87.77 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.004124, allocations: 25.5 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.00425, allocations: 47.91 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.488e-05/0.004335, allocations: 39.88 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.004367, allocations: 8 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.756e-05/0.004385, allocations: 9 kB / 0.789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.004418, allocations: 27.91 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.004455, allocations: 16.61 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.004602, allocations: 75.7 kB / 0.7891 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.004606, allocations: 1.406 kB / 0.7891 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004607, allocations: 0 / 0.7891 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.004612, allocations: 0 / 0.7891 GB, free: 10.69 MB / 0.7448 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.0005642/0.005176, allocations: 401.5 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.005221, allocations: 11.97 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.005285, allocations: 16.89 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.005421, allocations: 125.6 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.005449, allocations: 8.375 kB / 0.7897 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.005467, allocations: 4.375 kB / 0.7897 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.005719, allocations: 95.81 kB / 0.7898 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.005729, allocations: 3.984 kB / 0.7898 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.005744, allocations: 1.594 kB / 0.7898 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.005755, allocations: 4 kB / 0.7898 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.691e-05/0.005852, allocations: 23.98 kB / 0.7898 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.006354, allocations: 325 kB / 0.7901 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.00677, allocations: 81.89 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.006831, allocations: 19.69 kB / 0.7902 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.006855, allocations: 4 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.006883, allocations: 37.38 kB / 0.7903 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.006886, allocations: 0 / 0.7903 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003062/0.007192, allocations: 93.55 kB / 0.7903 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.007231, allocations: 56.12 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.007356, allocations: 185.8 kB / 0.7906 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.007371, allocations: 27.36 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.007436, allocations: 134.9 kB / 0.7907 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.00747, allocations: 27.78 kB / 0.7908 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.007522, allocations: 23.38 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.007674, allocations: 0.4961 MB / 0.7913 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.355e-05/0.007728, allocations: 13.14 kB / 0.7913 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.007771, allocations: 16.23 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.679e-05/0.007867, allocations: 41.06 kB / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.00787, allocations: 0 / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001699/0.00804, allocations: 83.31 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.008056, allocations: 4 kB / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.00806, allocations: 0 / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.008075, allocations: 0 / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.008205, allocations: 17.17 kB / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.008211, allocations: 4 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.129e-05/0.008273, allocations: 7.984 kB / 0.7914 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.008284, allocations: 4.5 kB / 0.7914 GB, free: 8.141 MB / 0.7448 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 9.825e-05/0.008382, allocations: 162.2 kB / 0.7916 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.008422, allocations: 7.953 kB / 0.7916 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.00864, allocations: 90.02 kB / 0.7917 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008643, allocations: 1.844 kB / 0.7917 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.008646, allocations: 0 / 0.7917 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.00865, allocations: 0 / 0.7917 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.008832, allocations: 152.5 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008834, allocations: 0 / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.008937, allocations: 16.73 kB / 0.7919 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.00894, allocations: 0.5312 kB / 0.7919 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.008952, allocations: 0 / 0.7919 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.00896, allocations: 12.7 kB / 0.7919 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.008962, allocations: 0 / 0.7919 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.009182, allocations: 228.3 kB / 0.7921 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.0092, allocations: 13.27 kB / 0.7921 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.009219, allocations: 0 / 0.7921 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.009317, allocations: 4 kB / 0.7921 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.009405, allocations: 24.5 kB / 0.7921 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.009418, allocations: 9.359 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.463e-05/0.009482, allocations: 135.2 kB / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.009482, allocations: 0 / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002756/0.009758, allocations: 16 kB / 0.7923 GB, free: 7.227 MB / 0.7448 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 0.0001204/0.009878, allocations: 96 kB / 0.7924 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.01005, allocations: 56.52 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01005, allocations: 1.344 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.01013, allocations: 35.67 kB / 0.7925 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.01045, allocations: 20.67 kB / 0.7925 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.01089, allocations: 168.6 kB / 0.7926 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.54e-05/0.01093, allocations: 59.34 kB / 0.7927 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.038e-05/0.01099, allocations: 12.22 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.01107, allocations: 24.48 kB / 0.7927 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.01107, allocations: 3.938 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of Templates: time 0.003567/0.01463, allocations: 1.716 MB / 0.7944 GB, free: 5.023 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.442267226986587]