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.0009334/0.0009334, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009609/0.0009609, allocations: 169 kB / 23.02 MB, free: 1.547 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.9786/0.9786, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.071/2.071, allocations: 429.5 MB / 0.6732 GB, free: 4.023 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.004e-06/2.004e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.137e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001404/0.001425, allocations: 0.7199 MB / 0.8789 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009264/0.002351, allocations: 0.8783 MB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.002388, allocations: 0 / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.002418, allocations: 7.922 kB / 0.8797 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.002501, allocations: 9.297 kB / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.002682, allocations: 24.83 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.093e-05/0.002773, allocations: 49.55 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.002887, allocations: 8 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.755e-05/0.002984, allocations: 33.02 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.003055, allocations: 15.98 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.00308, allocations: 4 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.003093, allocations: 5.031 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.003118, allocations: 19.91 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.003148, allocations: 11.98 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003263, allocations: 37.48 kB / 0.88 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.003266, allocations: 3.938 kB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003267, allocations: 0 / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.003273, allocations: 0 / 0.88 GB, free: 4.504 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.0003982/0.003671, allocations: 370.9 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.003711, allocations: 8.031 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.003756, allocations: 8.891 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.255e-05/0.003848, allocations: 124.5 kB / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.003867, allocations: 384 / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.00388, allocations: 8.359 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.004013, allocations: 69.19 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.004021, allocations: 3.938 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.004031, allocations: 0 / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.004039, allocations: 0 / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.8e-05/0.004087, allocations: 23.92 kB / 0.8805 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.004397, allocations: 268.5 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.572e-05/0.004492, allocations: 52.64 kB / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.004521, allocations: 19.75 kB / 0.8809 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.004533, allocations: 0 / 0.8809 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.004554, allocations: 41.33 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.004555, allocations: 1.344 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000168/0.004723, allocations: 65.62 kB / 0.881 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.004752, allocations: 51.41 kB / 0.881 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.004826, allocations: 169.9 kB / 0.8812 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.004839, allocations: 25.7 kB / 0.8812 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.004889, allocations: 138.8 kB / 0.8813 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.00491, allocations: 15.91 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.004941, allocations: 27.36 kB / 0.8814 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.00505, allocations: 492.1 kB / 0.8819 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.005071, allocations: 8.25 kB / 0.8819 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.005091, allocations: 15.92 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.478e-05/0.005136, allocations: 27.69 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.005138, allocations: 3.938 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.326e-05/0.005212, allocations: 53.69 kB / 0.882 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.005226, allocations: 10.33 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.00523, allocations: 0 / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.005243, allocations: 0 / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.005319, allocations: 8 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.005325, allocations: 0 / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.005351, allocations: 7.984 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.005356, allocations: 0 / 0.882 GB, free: 2.23 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 6.948e-05/0.005425, allocations: 168.8 kB / 0.8821 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.005443, allocations: 11.95 kB / 0.8822 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.005465, allocations: 7.984 kB / 0.8822 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005467, allocations: 0 / 0.8822 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.00547, allocations: 0 / 0.8822 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005473, allocations: 0 / 0.8822 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.787e-05/0.00557, allocations: 128.6 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005572, allocations: 3.938 kB / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.005601, allocations: 8 kB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.005602, allocations: 0 / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.00561, allocations: 4 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.005613, allocations: 3.984 kB / 0.8823 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005614, allocations: 4 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.005733, allocations: 199.9 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.005744, allocations: 11.89 kB / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.005754, allocations: 0 / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.00579, allocations: 7.984 kB / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.00584, allocations: 11.98 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.005844, allocations: 3.938 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.005878, allocations: 123.2 kB / 0.8827 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005878, allocations: 0 / 0.8827 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001379/0.006016, allocations: 12 kB / 0.8827 GB, free: 1.469 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 6.674e-05/0.006083, allocations: 99.23 kB / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.692e-05/0.00618, allocations: 31.67 kB / 0.8828 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-06/0.006181, allocations: 0 / 0.8828 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.189e-05/0.006213, allocations: 27.61 kB / 0.8828 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.006391, allocations: 12.12 kB / 0.8828 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.006656, allocations: 130.3 kB / 0.883 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.29e-05/0.006689, allocations: 59.36 kB / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.006715, allocations: 4 kB / 0.883 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.006753, allocations: 20.48 kB / 0.883 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/0.006754, allocations: 0 / 0.883 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.002486/0.00924, allocations: 1.021 MB / 0.884 GB, free: 20 kB / 0.8386 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.311255565378815]