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.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.001387/0.001387, allocations: 105.8 kB / 17.54 MB, free: 4.777 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.001406/0.001406, allocations: 186.6 kB / 20.71 MB, free: 1.617 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.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.499/2.499, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.88 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7629/0.7648, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001702/0.7665, allocations: 0.7132 MB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008021/0.7673, allocations: 0.8366 MB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.7673, allocations: 1.031 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.7674, allocations: 8.5 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.644e-05/0.7674, allocations: 5.656 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.7676, allocations: 27.86 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.7676, allocations: 45.8 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.7677, allocations: 10 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.7678, allocations: 18.98 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/0.7679, allocations: 34.08 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.7679, allocations: 4.344 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.7679, allocations: 4.062 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.7679, allocations: 12.09 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.768, allocations: 17.69 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.7681, allocations: 54.58 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7681, allocations: 0 / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7681, allocations: 0 / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.7681, allocations: 0.875 kB / 1.273 GB, free: 6.523 MB / 0.9981 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.0004082/0.7685, allocations: 354.6 kB / 1.273 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7685, allocations: 9.438 kB / 1.273 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.7686, allocations: 33.33 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.7686, allocations: 7.5 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.752e-05/0.7687, allocations: 179.9 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.7687, allocations: 2.531 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.7687, allocations: 6.375 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.7689, allocations: 68.89 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.7689, allocations: 0 / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.7689, allocations: 0.7812 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.7689, allocations: 1.281 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.7691, allocations: 53.59 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.7694, allocations: 295.9 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.7697, allocations: 64.78 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.7698, allocations: 27.77 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.7698, allocations: 4.688 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.7698, allocations: 35.94 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.7698, allocations: 0 / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000405/0.7702, allocations: 112.3 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.7702, allocations: 52.28 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/0.7703, allocations: 107.3 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.7703, allocations: 26.77 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.7703, allocations: 93.19 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.7703, allocations: 10.05 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.7704, allocations: 19.36 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.759e-05/0.7704, allocations: 319 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.7705, allocations: 22.86 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.7706, allocations: 31.8 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.7708, allocations: 52.77 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7708, allocations: 0 / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002239/0.771, allocations: 88.2 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.771, allocations: 9.125 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.771, allocations: 0 / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.771, allocations: 1 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.7712, allocations: 10.81 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.7712, allocations: 0 / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.7712, allocations: 14.92 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.7712, allocations: 5.875 kB / 1.275 GB, free: 4.672 MB / 0.9981 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 4.874e-05/0.7713, allocations: 113 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.7713, allocations: 5.641 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.7713, allocations: 9.953 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.7713, allocations: 0.9688 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7713, allocations: 0.6875 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7713, allocations: 1.547 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.7715, allocations: 179.1 kB / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7715, allocations: 256 / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/0.7716, allocations: 20 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7716, allocations: 0.8438 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.7716, allocations: 1 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.7716, allocations: 1.594 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7716, allocations: 0.9062 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.7718, allocations: 195.5 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.7718, allocations: 80.67 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.7718, allocations: 0.8438 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.072e-05/0.7719, allocations: 5.562 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.772, allocations: 12.58 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.772, allocations: 0.7188 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.523e-05/0.772, allocations: 91.08 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.772, allocations: 0 / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002057/0.7722, allocations: 10.72 kB / 1.276 GB, free: 3.98 MB / 0.9981 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.0004146/0.7726, allocations: 0.7176 MB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.7729, allocations: 56.55 kB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7729, allocations: 0.7812 kB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.773, allocations: 36.77 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.7733, allocations: 11.84 kB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.7745, allocations: 1.311 MB / 1.278 GB, free: 18.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.7748, allocations: 0.6848 MB / 1.279 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.811e-05/0.7748, allocations: 4.469 kB / 1.279 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.7749, allocations: 22.53 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/0.7749, allocations: 0.7188 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.799, allocations: 1.816 MB / 1.28 GB, free: 16.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/7.726, allocations: 7.734 kB / 1.28 GB, free: 16.97 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 420.0] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,abs1.u,abs1.y Variables in the result:abs1.u,abs1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time [Calling sys.exit(0), Time elapsed: 13.008901592000257]