Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 249.5 MB / 257 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 180.8 kB / 316.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.3 MB / 0.5671 GB, free: 15.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 92.41 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.524e-05/1.526e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2057, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7112/0.9169, allocations: 131.9 MB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.9172, allocations: 74.27 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002686/0.9199, allocations: 0.9385 MB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.246e-06/0.9199, allocations: 0 / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.9199, allocations: 2.734 kB / 1.015 GB, free: 5.074 MB / 0.6355 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.0003864/0.9203, allocations: 350.3 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.9204, allocations: 8.031 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.9204, allocations: 7.906 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.9206, allocations: 163 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.9206, allocations: 4 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.9206, allocations: 0 / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.464e-05/0.9207, allocations: 31.61 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.9208, allocations: 49.5 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.9208, allocations: 3.984 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.9208, allocations: 4 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.9209, allocations: 0 / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.9212, allocations: 262.5 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.533e-05/0.9213, allocations: 54.06 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.9214, allocations: 16.64 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.9214, allocations: 4.891 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.9214, allocations: 34.55 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.9214, allocations: 0 / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001622/0.9216, allocations: 61.28 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.9216, allocations: 51.41 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.9217, allocations: 96.88 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.9217, allocations: 25.7 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.9218, allocations: 88.12 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.9218, allocations: 19.44 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.9218, allocations: 0 / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.9219, allocations: 314.8 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.922, allocations: 15.81 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.922, allocations: 15.81 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.922, allocations: 7.984 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.922, allocations: 0 / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.02e-05/0.9221, allocations: 61.25 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.9222, allocations: 4 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.9222, allocations: 4 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.9222, allocations: 192 / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.9223, allocations: 15.98 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.9223, allocations: 0 / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.9224, allocations: 15.92 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.9224, allocations: 3.984 kB / 1.017 GB, free: 3.215 MB / 0.6355 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 (abs1.u,abs1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/0.9225, allocations: 104.9 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.9226, allocations: 11.91 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.9226, allocations: 12.27 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9226, allocations: 0 / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.9226, allocations: 3.938 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.9226, allocations: 0.6875 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.9228, allocations: 161.7 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9228, allocations: 0 / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.553e-05/0.9229, allocations: 15.98 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9229, allocations: 0 / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.9229, allocations: 8.234 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.9229, allocations: 4 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9229, allocations: 0 / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.923, allocations: 150.8 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.9231, allocations: 81.06 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.9231, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.9232, allocations: 11.98 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.9233, allocations: 11.98 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.9233, allocations: 0 / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.9233, allocations: 87.2 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9233, allocations: 0 / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002097/0.9235, allocations: 11.91 kB / 1.017 GB, free: 2.492 MB / 0.6355 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.u,abs1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.9237, allocations: 107.2 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.295e-05/0.9238, allocations: 35.73 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9238, allocations: 0 / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.9238, allocations: 19.88 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.924, allocations: 3.938 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.9242, allocations: 89.69 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.9245, allocations: 0.6846 MB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.499e-05/0.9245, allocations: 4 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.9246, allocations: 19.17 kB / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.9246, allocations: 0 / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of Templates: time 0.002421/0.927, allocations: 0.6997 MB / 1.019 GB, free: 0.8242 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches