Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001012/0.001012, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001705/0.001705, allocations: 161 kB / 24.17 MB, free: 332 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.9943/0.9943, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.926/1.926, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.475e-05, allocations: 6.906 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001506/0.001531, allocations: 0.7193 MB / 0.7607 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.002438, allocations: 0.881 MB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.00248, allocations: 0 / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.002507, allocations: 5.281 kB / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.002588, allocations: 5.469 kB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.002736, allocations: 31.89 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.002816, allocations: 42.03 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.002899, allocations: 12.84 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.00299, allocations: 29.52 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.003051, allocations: 18.58 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.003074, allocations: 4 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.003084, allocations: 8 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.003107, allocations: 18.86 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.003134, allocations: 13.2 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.031e-05/0.003224, allocations: 38.77 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003226, allocations: 1.625 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003227, allocations: 0 / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.003231, allocations: 0.875 kB / 0.7618 GB, free: 4.82 MB / 0.7136 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.0003147/0.003546, allocations: 240.9 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.003579, allocations: 9.031 kB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.003609, allocations: 4.938 kB / 0.7621 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.927e-05/0.003698, allocations: 113.8 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.003716, allocations: 2.406 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.003728, allocations: 4.375 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.003859, allocations: 70.86 kB / 0.7622 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.003868, allocations: 4.594 kB / 0.7622 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.003876, allocations: 0 / 0.7622 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.003882, allocations: 4.75 kB / 0.7622 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.003914, allocations: 12.73 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.00417, allocations: 168.2 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.252e-05/0.004242, allocations: 39.25 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.004263, allocations: 16.03 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.004279, allocations: 7.938 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.0043, allocations: 30.56 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.004301, allocations: 0 / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001219/0.004423, allocations: 49.67 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.004456, allocations: 56.88 kB / 0.7626 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.897e-05/0.004515, allocations: 110.7 kB / 0.7627 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.004526, allocations: 29.7 kB / 0.7627 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.00456, allocations: 92.69 kB / 0.7628 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.00458, allocations: 13.19 kB / 0.7628 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.004611, allocations: 21.7 kB / 0.7629 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.004687, allocations: 310.8 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.004702, allocations: 6.344 kB / 0.7632 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/0.004714, allocations: 4 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.004749, allocations: 24.83 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004751, allocations: 3.094 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.504e-05/0.004816, allocations: 53.61 kB / 0.7633 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.004828, allocations: 4 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.004832, allocations: 3.938 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.004846, allocations: 4 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.004926, allocations: 8.234 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.004931, allocations: 4 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.004957, allocations: 10.69 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.004961, allocations: 0 / 0.7633 GB, free: 3.176 MB / 0.7136 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.451e-05/0.005036, allocations: 109.8 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.005053, allocations: 3.938 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.005078, allocations: 15.98 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.00508, allocations: 0 / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.005082, allocations: 0 / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.005085, allocations: 1.312 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.22e-05/0.005178, allocations: 69.89 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.005181, allocations: 4 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.005212, allocations: 4.656 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.005214, allocations: 0 / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.00522, allocations: 12.42 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005221, allocations: 0 / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005223, allocations: 3.062 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.761e-05/0.00532, allocations: 151.8 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.005329, allocations: 3.953 kB / 0.7636 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.005339, allocations: 3.938 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.005376, allocations: 7.984 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.005419, allocations: 11.98 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.005422, allocations: 0 / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.399e-05/0.005436, allocations: 11.98 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005437, allocations: 0 / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001224/0.005559, allocations: 12 kB / 0.7637 GB, free: 2.715 MB / 0.7136 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.731e-05/0.005656, allocations: 84.34 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.348e-05/0.00573, allocations: 24.78 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.005732, allocations: 0 / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/0.005754, allocations: 12.86 kB / 0.7638 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.005894, allocations: 21.73 kB / 0.7638 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.006141, allocations: 132.5 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.006175, allocations: 60.16 kB / 0.764 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.006203, allocations: 6.438 kB / 0.764 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.006259, allocations: 55.38 kB / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.006259, allocations: 0 / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.002602/0.008861, allocations: 0.9761 MB / 0.765 GB, free: 1.336 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.026261155027896]