Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 443.4 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 75.83 kB / 1.059 GB, free: 328 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4254, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.003272/0.4286, allocations: 0.7094 MB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.4303, allocations: 0.8468 MB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.4304, allocations: 0 / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.815e-05/0.4304, allocations: 3.938 kB / 1.218 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.4305, allocations: 7.938 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.4307, allocations: 19.92 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.4309, allocations: 43.97 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.4311, allocations: 15.97 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.4312, allocations: 23.86 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.4313, allocations: 23.92 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.4313, allocations: 4 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.4313, allocations: 4 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.4314, allocations: 7.984 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.4314, allocations: 27.84 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.4316, allocations: 47.81 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4316, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4316, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.4316, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 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.000818/0.4324, allocations: 355.3 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.4325, allocations: 8.031 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.4326, allocations: 4.938 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.4328, allocations: 168.3 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.4329, allocations: 12.38 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.4329, allocations: 384 / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.4332, allocations: 81.5 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.4332, allocations: 3.938 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4332, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4332, allocations: 3.938 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.4335, allocations: 51.95 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/0.4342, allocations: 292.8 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.4345, allocations: 66.48 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.4346, allocations: 28.91 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.4346, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.4347, allocations: 38.56 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4347, allocations: 4 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0005943/0.4353, allocations: 105.6 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.4353, allocations: 59.34 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.4355, allocations: 105.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4355, allocations: 25.7 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.4356, allocations: 84.14 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.4356, allocations: 19.89 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.4357, allocations: 17.72 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4358, allocations: 318.8 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.436, allocations: 19.98 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.4361, allocations: 27.97 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.4364, allocations: 56.81 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4364, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003377/0.4367, allocations: 85.59 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4367, allocations: 10.19 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4367, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.4368, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.4369, allocations: 16.22 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4369, allocations: 0 / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-05/0.437, allocations: 12.33 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.437, allocations: 0 / 1.22 GB, free: 11.24 MB / 0.9669 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.0001286/0.4372, allocations: 121.8 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.4372, allocations: 7.938 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.4373, allocations: 11.91 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4373, allocations: 3.938 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4373, allocations: 0 / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4373, allocations: 0 / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.4376, allocations: 181.6 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.4376, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.4377, allocations: 15.98 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.4377, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4377, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4377, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4377, allocations: 0 / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.4381, allocations: 187.4 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.4382, allocations: 92.94 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.4382, allocations: 4 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.4384, allocations: 7.984 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.4384, allocations: 11.98 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.4385, allocations: 4 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.282e-05/0.4385, allocations: 83.27 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4385, allocations: 0 / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003595/0.4389, allocations: 15.94 kB / 1.221 GB, free: 10.4 MB / 0.9669 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.0001746/0.4391, allocations: 103.2 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.4394, allocations: 55.89 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4394, allocations: 0 / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.4396, allocations: 31.97 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.4401, allocations: 7.984 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.4406, allocations: 149 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.4411, allocations: 0.6807 MB / 1.222 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.914e-05/0.4411, allocations: 4 kB / 1.222 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.4412, allocations: 15.42 kB / 1.222 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.4412, allocations: 0 / 1.222 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of Templates: time 0.00562/0.4468, allocations: 0.9109 MB / 1.222 GB, free: 8.402 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.851580759510398]