Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002021/0.002021, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.002914/0.002914, allocations: 169 kB / 24.06 MB, free: 452 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.069/1.069, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.184/2.184, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.688e-05, allocations: 3.094 kB / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001567/0.001594, allocations: 0.7149 MB / 0.8801 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.002502, allocations: 0.8759 MB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.002553, allocations: 1.094 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.002585, allocations: 5.031 kB / 0.881 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.032e-05/0.002665, allocations: 11.98 kB / 0.881 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.002807, allocations: 24.62 kB / 0.881 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.362e-05/0.002881, allocations: 47.91 kB / 0.881 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.002981, allocations: 13.52 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.003065, allocations: 27.92 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.003125, allocations: 23.95 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.003144, allocations: 4 kB / 0.8811 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.003153, allocations: 4.875 kB / 0.8811 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.003171, allocations: 4 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.003192, allocations: 17.02 kB / 0.8811 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.985e-05/0.003282, allocations: 43.81 kB / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003284, allocations: 0 / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003285, allocations: 0.5312 kB / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003289, allocations: 0 / 0.8812 GB, free: 4.18 MB / 0.8386 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.0003807/0.003669, allocations: 381.1 kB / 0.8815 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.003705, allocations: 9.125 kB / 0.8815 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.003736, allocations: 4.938 kB / 0.8815 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.003829, allocations: 112.6 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.00385, allocations: 5.469 kB / 0.8817 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.00386, allocations: 4.375 kB / 0.8817 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.003998, allocations: 67.95 kB / 0.8817 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.004008, allocations: 7.922 kB / 0.8817 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.004016, allocations: 3.938 kB / 0.8817 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.004021, allocations: 5.094 kB / 0.8817 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.207e-05/0.004053, allocations: 11.98 kB / 0.8818 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.004342, allocations: 253.9 kB / 0.882 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.193e-05/0.004424, allocations: 51.05 kB / 0.882 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.00445, allocations: 15.66 kB / 0.8821 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.004463, allocations: 3.312 kB / 0.8821 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.004483, allocations: 37.39 kB / 0.8821 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.004484, allocations: 0 / 0.8821 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001436/0.004628, allocations: 61.67 kB / 0.8822 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.004659, allocations: 51.41 kB / 0.8822 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.004761, allocations: 165.9 kB / 0.8824 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.004771, allocations: 25.7 kB / 0.8824 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.004814, allocations: 134.8 kB / 0.8825 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.004829, allocations: 13.12 kB / 0.8825 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.004863, allocations: 31.3 kB / 0.8826 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.00497, allocations: 496.1 kB / 0.883 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.00499, allocations: 5.562 kB / 0.883 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.005004, allocations: 7.984 kB / 0.8831 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.005039, allocations: 15.69 kB / 0.8831 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.005042, allocations: 0 / 0.8831 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.476e-05/0.005117, allocations: 58.95 kB / 0.8831 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.00513, allocations: 8 kB / 0.8831 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.005134, allocations: 0 / 0.8831 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.005143, allocations: 8 kB / 0.8831 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.005219, allocations: 15.88 kB / 0.8832 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.005221, allocations: 0 / 0.8832 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.005248, allocations: 7.984 kB / 0.8832 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.005252, allocations: 0 / 0.8832 GB, free: 1.957 MB / 0.8386 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 0.0001422/0.005395, allocations: 156.6 kB / 0.8833 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.005415, allocations: 11.89 kB / 0.8833 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.005434, allocations: 8 kB / 0.8833 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005436, allocations: 0 / 0.8833 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.005439, allocations: 4 kB / 0.8833 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005441, allocations: 4.328 kB / 0.8833 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.917e-05/0.00554, allocations: 101.2 kB / 0.8834 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.005542, allocations: 4 kB / 0.8834 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.005577, allocations: 7.984 kB / 0.8834 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.00558, allocations: 7.984 kB / 0.8835 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.005588, allocations: 7.938 kB / 0.8835 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.005588, allocations: 0 / 0.8835 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00559, allocations: 0 / 0.8835 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.005718, allocations: 195.9 kB / 0.8836 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.005728, allocations: 7.953 kB / 0.8837 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.00574, allocations: 11.94 kB / 0.8837 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.005778, allocations: 4 kB / 0.8837 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.005822, allocations: 11.97 kB / 0.8837 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.005826, allocations: 4 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.005865, allocations: 123.2 kB / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005865, allocations: 0 / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001442/0.00601, allocations: 8 kB / 0.8838 GB, free: 1.234 MB / 0.8386 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 9.016e-05/0.0061, allocations: 95.23 kB / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.81e-05/0.006188, allocations: 39.59 kB / 0.8839 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006189, allocations: 0 / 0.8839 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.00622, allocations: 19.69 kB / 0.884 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.006415, allocations: 15.86 kB / 0.884 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.00665, allocations: 126.3 kB / 0.8841 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.015e-05/0.00668, allocations: 59.34 kB / 0.8841 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.006708, allocations: 8 kB / 0.8842 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.006768, allocations: 78.19 kB / 0.8842 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/0.006769, allocations: 4 kB / 0.8842 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of Templates: time 0.002723/0.009492, allocations: 1.083 MB / 0.8853 GB, free: 15.66 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.679737236816436]