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.0008974/0.0008974, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009204/0.0009204, allocations: 181 kB / 24.09 MB, free: 420 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 0.9203/0.9203, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.745/1.745, allocations: 359 MB / 0.6055 GB, free: 10.89 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 1.572e-06/1.572e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.46e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001122/0.001137, allocations: 0.7147 MB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007013/0.001838, allocations: 0.8828 MB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.001874, allocations: 0 / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.001898, allocations: 4.5 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.001964, allocations: 5.094 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.002082, allocations: 31.84 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.002141, allocations: 43.91 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.844e-05/0.00222, allocations: 12.55 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.002296, allocations: 28.86 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.002347, allocations: 23.95 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.002364, allocations: 4 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-06/0.002374, allocations: 9.031 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.002391, allocations: 11.92 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.00241, allocations: 8 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.478e-05/0.002484, allocations: 44.47 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002486, allocations: 0.5938 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002487, allocations: 0 / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.00249, allocations: 5.438 kB / 0.7893 GB, free: 10.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002871/0.002777, allocations: 372.6 kB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.002809, allocations: 8.031 kB / 0.7897 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.002832, allocations: 10.42 kB / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.235e-05/0.002894, allocations: 108.6 kB / 0.7898 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.002907, allocations: 384 / 0.7898 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.002917, allocations: 8.375 kB / 0.7898 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.003021, allocations: 64.52 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.003026, allocations: 3.938 kB / 0.7899 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.003033, allocations: 4 kB / 0.7899 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.003044, allocations: 7.984 kB / 0.7899 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.846e-05/0.003072, allocations: 19.33 kB / 0.7899 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.003293, allocations: 256.3 kB / 0.7902 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.384e-05/0.003357, allocations: 47.11 kB / 0.7902 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.003376, allocations: 15.66 kB / 0.7902 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.003389, allocations: 0 / 0.7902 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.003407, allocations: 41.33 kB / 0.7903 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.003407, allocations: 0 / 0.7903 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001183/0.003525, allocations: 54.53 kB / 0.7903 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.003547, allocations: 55.41 kB / 0.7904 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.566e-05/0.003603, allocations: 166.4 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.003612, allocations: 34.42 kB / 0.7906 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.003651, allocations: 134.8 kB / 0.7907 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.003664, allocations: 5.297 kB / 0.7907 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.003692, allocations: 31.36 kB / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.003784, allocations: 496.1 kB / 0.7912 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.003799, allocations: 7.984 kB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.126e-05/0.00381, allocations: 4.625 kB / 0.7912 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.00384, allocations: 28.64 kB / 0.7912 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.003841, allocations: 0 / 0.7912 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.753e-05/0.003898, allocations: 58.33 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.003909, allocations: 10.19 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.003912, allocations: 0.7188 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.003921, allocations: 0 / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.003988, allocations: 13.27 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.003991, allocations: 0 / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.004011, allocations: 0 / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.004015, allocations: 4 kB / 0.7913 GB, free: 8.156 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: 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 5.568e-05/0.004071, allocations: 162.5 kB / 0.7915 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.004087, allocations: 7.938 kB / 0.7915 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.004105, allocations: 8 kB / 0.7915 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.004107, allocations: 3.984 kB / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.004108, allocations: 2.219 kB / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.00411, allocations: 4 kB / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.452e-05/0.004195, allocations: 101.2 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.004195, allocations: 0 / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.004222, allocations: 8.328 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.004223, allocations: 0 / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.004229, allocations: 10.62 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004229, allocations: 0 / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.004231, allocations: 3.984 kB / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.855e-05/0.00432, allocations: 203.8 kB / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.004325, allocations: 4 kB / 0.7918 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.004335, allocations: 7.938 kB / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.004371, allocations: 7.984 kB / 0.7918 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.004405, allocations: 9.547 kB / 0.7918 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.004408, allocations: 4 kB / 0.7919 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.055e-05/0.004439, allocations: 127.4 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004439, allocations: 0 / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001327/0.004572, allocations: 4.5 kB / 0.792 GB, free: 7.441 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: 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.112e-05/0.004633, allocations: 101.2 kB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.337e-05/0.004696, allocations: 31.66 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.004698, allocations: 4 kB / 0.7921 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.004725, allocations: 24.23 kB / 0.7921 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.004901, allocations: 13.84 kB / 0.7921 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/0.005102, allocations: 134.1 kB / 0.7923 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.21e-05/0.005134, allocations: 55.36 kB / 0.7923 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.385e-05/0.005158, allocations: 5.531 kB / 0.7923 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.005212, allocations: 83.09 kB / 0.7924 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of SimCode: time 8.41e-07/0.005213, allocations: 0 / 0.7924 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of Templates: time 0.0023/0.007513, allocations: 1.045 MB / 0.7934 GB, free: 5.926 MB / 0.7448 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: 4.667362509761006]