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.001941/0.001941, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002128/0.002128, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.514/1.514, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.905/2.905, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 3.516e-06/3.516e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.811e-05/4.163e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002952/0.002994, allocations: 0.7016 MB / 0.8115 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.004716, allocations: 0.8548 MB / 0.8123 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.004772, allocations: 0.625 kB / 0.8123 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.004817, allocations: 7.922 kB / 0.8123 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.302e-05/0.00491, allocations: 9.344 kB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.005131, allocations: 27.91 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.00525, allocations: 43.91 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.005371, allocations: 8.844 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.005486, allocations: 31.91 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.005566, allocations: 20.53 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.00559, allocations: 4 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.005606, allocations: 4.688 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.005635, allocations: 11.92 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.005672, allocations: 12.89 kB / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.00582, allocations: 59.78 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005823, allocations: 0.6562 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005824, allocations: 0 / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.005828, allocations: 1.531 kB / 0.8126 GB, free: 316 kB / 0.7605 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.0006026/0.006431, allocations: 266.3 kB / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.006473, allocations: 12.03 kB / 0.8128 GB, free: 8 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.00653, allocations: 10.31 kB / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.006691, allocations: 113.8 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.006712, allocations: 4.375 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.006725, allocations: 384 / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.006985, allocations: 74.78 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.006997, allocations: 4.969 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.007013, allocations: 4 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.007018, allocations: 0 / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.007253, allocations: 54.06 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.007771, allocations: 220.5 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.008037, allocations: 71.05 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.008176, allocations: 38.03 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.008196, allocations: 0 / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.008241, allocations: 34.56 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.008242, allocations: 0.75 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0005151/0.008757, allocations: 107.6 kB / 0.8135 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.008836, allocations: 55.34 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.008976, allocations: 109.8 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.008998, allocations: 25.7 kB / 0.8137 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.009088, allocations: 97.89 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.009115, allocations: 11.89 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.009169, allocations: 13.72 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004407/0.00961, allocations: 322.8 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.009736, allocations: 21.45 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.009845, allocations: 24.16 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.01007, allocations: 61.45 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.01008, allocations: 4.5 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002983/0.01038, allocations: 87 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.0104, allocations: 7.984 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.0104, allocations: 4.531 kB / 0.8144 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.01042, allocations: 0 / 0.8144 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.01056, allocations: 12.61 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01057, allocations: 1.969 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.943e-05/0.01065, allocations: 8.203 kB / 0.8144 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.01067, allocations: 3.984 kB / 0.8144 GB, free: 14.3 MB / 0.7761 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.0001167/0.01079, allocations: 117.8 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.01082, allocations: 8.531 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.01085, allocations: 8.719 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01085, allocations: 0 / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.01086, allocations: 1.281 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.01086, allocations: 0 / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.01106, allocations: 117.4 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.01106, allocations: 3.938 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.01116, allocations: 12.8 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01117, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01118, allocations: 4.922 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01118, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.01119, allocations: 9.328 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.01156, allocations: 187.4 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.01159, allocations: 8.875 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.01161, allocations: 0 / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.01172, allocations: 10.3 kB / 0.8148 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.01179, allocations: 11.98 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.0118, allocations: 0 / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.924e-05/0.01188, allocations: 87.22 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01188, allocations: 0 / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002341/0.01211, allocations: 8 kB / 0.8149 GB, free: 13.67 MB / 0.7761 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 0.0001523/0.01226, allocations: 102.7 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.01256, allocations: 55.89 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01256, allocations: 0 / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.01269, allocations: 31.97 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.01305, allocations: 11.94 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.01349, allocations: 125.3 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.679e-05/0.01358, allocations: 71.7 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.922e-05/0.01363, allocations: 6.031 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.0137, allocations: 21.3 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of SimCode: time 9.21e-07/0.0137, allocations: 0.5 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.004335/0.01803, allocations: 0.9716 MB / 0.8163 GB, free: 12.27 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.959406211972237]