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.00104/0.00104, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.00168/0.00168, allocations: 161 kB / 23.82 MB, free: 0.7734 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 1.005/1.005, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.89/1.89, allocations: 359 MB / 0.6052 GB, free: 11 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.266e-06/3.266e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.456e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001666/0.001701, allocations: 0.7717 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.002672, allocations: 0.918 MB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.002721, allocations: 4 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.002758, allocations: 3.938 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.466e-05/0.002842, allocations: 5.406 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.003035, allocations: 47.81 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.003149, allocations: 87.77 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.003269, allocations: 28.41 kB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.931e-05/0.003368, allocations: 49.05 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.101e-05/0.003439, allocations: 35.89 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.003463, allocations: 8 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.003476, allocations: 8 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.003502, allocations: 21.27 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.462e-05/0.003537, allocations: 27.95 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.003666, allocations: 67.73 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.003669, allocations: 0.9688 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.00367, allocations: 0 / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.003676, allocations: 0 / 0.7891 GB, free: 10.36 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.0004812/0.004157, allocations: 401.1 kB / 0.7895 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.0042, allocations: 18.42 kB / 0.7895 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.004248, allocations: 16.89 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.004349, allocations: 124.5 kB / 0.7897 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.004373, allocations: 4.375 kB / 0.7897 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.004389, allocations: 8.375 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.004569, allocations: 96.58 kB / 0.7898 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.00458, allocations: 3.938 kB / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.004592, allocations: 3.984 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.0046, allocations: 4 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.245e-05/0.004673, allocations: 28.56 kB / 0.7898 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.00522, allocations: 320.2 kB / 0.7901 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.005517, allocations: 81.33 kB / 0.7902 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.56e-05/0.005562, allocations: 23.67 kB / 0.7902 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.005587, allocations: 4 kB / 0.7902 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.005606, allocations: 33.39 kB / 0.7903 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.005608, allocations: 0.5 kB / 0.7903 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002233/0.005831, allocations: 90.19 kB / 0.7904 GB, free: 9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.005861, allocations: 56.19 kB / 0.7904 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.005956, allocations: 177.9 kB / 0.7906 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.005969, allocations: 30.86 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.006023, allocations: 138.9 kB / 0.7907 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.006047, allocations: 23.8 kB / 0.7908 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.006087, allocations: 32.73 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.006198, allocations: 0.4883 MB / 0.7913 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.006235, allocations: 11.98 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.006264, allocations: 17.98 kB / 0.7913 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.815e-05/0.006332, allocations: 35.83 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.006334, allocations: 4 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001142/0.006449, allocations: 82.83 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.006463, allocations: 4 kB / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006467, allocations: 0 / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.006483, allocations: 0 / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/0.00657, allocations: 21.23 kB / 0.7914 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.006576, allocations: 3.984 kB / 0.7914 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.006614, allocations: 5.812 kB / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.00662, allocations: 0 / 0.7914 GB, free: 7.816 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 7.378e-05/0.006694, allocations: 164.5 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.006717, allocations: 11.94 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.006879, allocations: 88.56 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.006886, allocations: 0 / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.00689, allocations: 0 / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.006893, allocations: 0 / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.007016, allocations: 152.5 kB / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.007018, allocations: 0 / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.007081, allocations: 20.47 kB / 0.7919 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.007084, allocations: 0.5312 kB / 0.7919 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.007093, allocations: 5.938 kB / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.007096, allocations: 4 kB / 0.7919 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007097, allocations: 0 / 0.7919 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.007253, allocations: 223.8 kB / 0.7921 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.007267, allocations: 15.95 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.007282, allocations: 2.594 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.007333, allocations: 7.984 kB / 0.7921 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.007399, allocations: 23.97 kB / 0.7921 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.007406, allocations: 4 kB / 0.7921 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.00745, allocations: 135.2 kB / 0.7923 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00745, allocations: 0 / 0.7923 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001575/0.007607, allocations: 16 kB / 0.7923 GB, free: 6.898 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 9.938e-05/0.007707, allocations: 96.62 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.007845, allocations: 52.38 kB / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007847, allocations: 0 / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.007902, allocations: 40.94 kB / 0.7925 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.008114, allocations: 16.7 kB / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.008453, allocations: 176.2 kB / 0.7926 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.008493, allocations: 65.52 kB / 0.7927 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.753e-05/0.00853, allocations: 12.91 kB / 0.7927 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.008586, allocations: 24.48 kB / 0.7927 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of SimCode: time 1.011e-06/0.008587, allocations: 0 / 0.7927 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of Templates: time 0.0033/0.01189, allocations: 1.72 MB / 0.7944 GB, free: 4.688 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.501613799948245]