Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.00139/0.00139, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001469/0.001469, allocations: 161 kB / 23.81 MB, free: 0.7539 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.042/1.042, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.891/1.891, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.7871 GB, free: 11.31 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.814e-05, allocations: 3.297 kB / 0.7871 GB, free: 11.3 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001392/0.00142, allocations: 0.7109 MB / 0.7878 GB, free: 10.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.002317, allocations: 0.8781 MB / 0.7887 GB, free: 9.719 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.002358, allocations: 0.9062 kB / 0.7887 GB, free: 9.719 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.002391, allocations: 3.938 kB / 0.7887 GB, free: 9.715 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.753e-05/0.002469, allocations: 8.844 kB / 0.7887 GB, free: 9.707 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.002631, allocations: 31.91 kB / 0.7887 GB, free: 9.676 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.002707, allocations: 40.75 kB / 0.7887 GB, free: 9.637 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.002813, allocations: 11.98 kB / 0.7888 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.002894, allocations: 32.67 kB / 0.7888 GB, free: 9.594 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.002954, allocations: 19.95 kB / 0.7888 GB, free: 9.574 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.002975, allocations: 8.938 kB / 0.7888 GB, free: 9.566 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.002986, allocations: 4 kB / 0.7888 GB, free: 9.562 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.003006, allocations: 7.938 kB / 0.7888 GB, free: 9.555 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.00303, allocations: 12.61 kB / 0.7888 GB, free: 9.543 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.003128, allocations: 45.22 kB / 0.7889 GB, free: 9.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.00313, allocations: 0 / 0.7889 GB, free: 9.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003131, allocations: 0 / 0.7889 GB, free: 9.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.003136, allocations: 0 / 0.7889 GB, free: 9.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004033/0.003539, allocations: 377.4 kB / 0.7892 GB, free: 9.098 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.003581, allocations: 8.031 kB / 0.7892 GB, free: 9.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.003623, allocations: 4.938 kB / 0.7893 GB, free: 9.086 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.003724, allocations: 117.8 kB / 0.7894 GB, free: 8.945 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.003751, allocations: 384 / 0.7894 GB, free: 8.945 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.003767, allocations: 8.375 kB / 0.7894 GB, free: 8.938 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.003923, allocations: 72.52 kB / 0.7894 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.003933, allocations: 3.938 kB / 0.7894 GB, free: 8.855 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.003946, allocations: 4 kB / 0.7894 GB, free: 8.852 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.003954, allocations: 0 / 0.7894 GB, free: 8.852 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.004003, allocations: 16.91 kB / 0.7895 GB, free: 8.836 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.004369, allocations: 275.8 kB / 0.7897 GB, free: 8.531 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.004488, allocations: 55.98 kB / 0.7898 GB, free: 8.465 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.004522, allocations: 19.72 kB / 0.7898 GB, free: 8.441 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.004543, allocations: 1.281 kB / 0.7898 GB, free: 8.441 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.004568, allocations: 37.42 kB / 0.7898 GB, free: 8.395 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.00457, allocations: 0 / 0.7898 GB, free: 8.395 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001802/0.004751, allocations: 63.23 kB / 0.7899 GB, free: 8.328 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.004779, allocations: 55.34 kB / 0.79 GB, free: 8.262 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.004854, allocations: 165.9 kB / 0.7901 GB, free: 8.082 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.004865, allocations: 25.7 kB / 0.7901 GB, free: 8.051 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.004915, allocations: 132.4 kB / 0.7903 GB, free: 7.918 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.004936, allocations: 19.83 kB / 0.7903 GB, free: 7.898 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.004969, allocations: 23.38 kB / 0.7903 GB, free: 7.867 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.005087, allocations: 0.4884 MB / 0.7908 GB, free: 7.367 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.005112, allocations: 10.69 kB / 0.7908 GB, free: 7.359 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.00513, allocations: 8 kB / 0.7908 GB, free: 7.352 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.005177, allocations: 23.67 kB / 0.7908 GB, free: 7.324 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.00518, allocations: 3.938 kB / 0.7908 GB, free: 7.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.583e-05/0.005266, allocations: 53.69 kB / 0.7909 GB, free: 7.262 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.005279, allocations: 7.938 kB / 0.7909 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.005284, allocations: 0.7188 kB / 0.7909 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.005298, allocations: 336 / 0.7909 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.005387, allocations: 13.64 kB / 0.7909 GB, free: 7.242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.005393, allocations: 0 / 0.7909 GB, free: 7.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.005419, allocations: 7.953 kB / 0.7909 GB, free: 7.234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.005425, allocations: 4 kB / 0.7909 GB, free: 7.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.223e-05/0.005497, allocations: 166.2 kB / 0.7911 GB, free: 7.059 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.005515, allocations: 3.984 kB / 0.7911 GB, free: 7.055 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.005542, allocations: 12 kB / 0.7911 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.005543, allocations: 0 / 0.7911 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.005547, allocations: 1.406 kB / 0.7911 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.00555, allocations: 0 / 0.7911 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.005654, allocations: 124.6 kB / 0.7912 GB, free: 6.887 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.005657, allocations: 5.844 kB / 0.7912 GB, free: 6.883 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.005697, allocations: 11.98 kB / 0.7912 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.005699, allocations: 0 / 0.7912 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.005706, allocations: 0 / 0.7912 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005707, allocations: 0 / 0.7912 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005708, allocations: 4.688 kB / 0.7912 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.005842, allocations: 207.8 kB / 0.7914 GB, free: 6.645 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.005852, allocations: 8.469 kB / 0.7914 GB, free: 6.637 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.005863, allocations: 0.7188 kB / 0.7914 GB, free: 6.637 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.774e-05/0.005901, allocations: 4 kB / 0.7914 GB, free: 6.633 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.005951, allocations: 8.516 kB / 0.7914 GB, free: 6.625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.005956, allocations: 4 kB / 0.7914 GB, free: 6.621 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.005994, allocations: 132.5 kB / 0.7916 GB, free: 6.492 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005994, allocations: 0 / 0.7916 GB, free: 6.492 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001454/0.006139, allocations: 8 kB / 0.7916 GB, free: 6.484 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.153e-05/0.006221, allocations: 93.16 kB / 0.7917 GB, free: 6.383 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.006322, allocations: 35.61 kB / 0.7917 GB, free: 6.344 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.006323, allocations: 3.938 kB / 0.7917 GB, free: 6.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.006356, allocations: 24.83 kB / 0.7917 GB, free: 6.312 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.006554, allocations: 19.86 kB / 0.7917 GB, free: 6.293 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.006852, allocations: 127.7 kB / 0.7919 GB, free: 6.141 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.006889, allocations: 59.34 kB / 0.7919 GB, free: 6.062 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.006916, allocations: 5.75 kB / 0.7919 GB, free: 6.059 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.006962, allocations: 17.84 kB / 0.7919 GB, free: 6.043 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/0.006963, allocations: 0 / 0.7919 GB, free: 6.043 MB / 0.698 GB Notification: Performance of Templates: time 0.002617/0.00958, allocations: 0.9826 MB / 0.7929 GB, free: 5.105 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.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.245640626177192]