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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 193.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.974/2.974, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002554/0.002554, allocations: 67.89 kB / 0.8688 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8642/0.8668, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00288/0.8697, allocations: 0.7619 MB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.8711, allocations: 0.8351 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.8712, allocations: 0 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.638e-05/0.8713, allocations: 0 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.8714, allocations: 3.938 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.8716, allocations: 19.98 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.8718, allocations: 51.84 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.8719, allocations: 15.98 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.872, allocations: 19.98 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.454e-05/0.8721, allocations: 23.91 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.8721, allocations: 7.938 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.8722, allocations: 4 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.8722, allocations: 15.98 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.8723, allocations: 15.92 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.8724, allocations: 51.78 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.8724, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8724, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8724, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 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.000662/0.8731, allocations: 357.3 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.8732, allocations: 12.03 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.8732, allocations: 0.9375 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.8734, allocations: 180.2 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.8735, allocations: 384 / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.8735, allocations: 4.375 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.8738, allocations: 73.7 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8738, allocations: 4 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.8738, allocations: 8 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.8738, allocations: 0 / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.8741, allocations: 51.94 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.8747, allocations: 280.8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.8749, allocations: 70.48 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.8751, allocations: 36.89 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.8751, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.8752, allocations: 34.56 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.8752, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004808/0.8757, allocations: 109.6 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.8757, allocations: 55.34 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.8759, allocations: 109.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.8759, allocations: 25.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.876, allocations: 92.11 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.876, allocations: 11.84 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.8761, allocations: 17.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.8763, allocations: 322.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.8764, allocations: 23.98 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.8765, allocations: 27.97 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.8767, allocations: 52.81 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.8767, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000274/0.877, allocations: 97.42 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.877, allocations: 8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.877, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.8771, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.8772, allocations: 12.23 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.8772, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.8773, allocations: 12 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.8773, allocations: 3.984 kB / 1.021 GB, free: 14.62 MB / 0.7794 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.0001241/0.8775, allocations: 114.3 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.8775, allocations: 8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.8776, allocations: 7.906 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.8776, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8776, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.8776, allocations: 3.938 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.8778, allocations: 177.6 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8779, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.904e-05/0.878, allocations: 11.98 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.878, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.878, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.878, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.878, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.8784, allocations: 187.3 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.8784, allocations: 77.48 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.8785, allocations: 3.984 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.8786, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.8786, allocations: 15.98 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.8787, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.276e-05/0.8787, allocations: 87.27 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.8787, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002619/0.879, allocations: 8 kB / 1.021 GB, free: 13.81 MB / 0.7794 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.0001697/0.8792, allocations: 103.2 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.8795, allocations: 67.88 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8795, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.8796, allocations: 35.97 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.88, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.8806, allocations: 137.5 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.881, allocations: 0.6845 MB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.85e-05/0.8811, allocations: 7.984 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.8811, allocations: 15.44 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.8811, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.004508/0.8857, allocations: 0.8067 MB / 1.023 GB, free: 11.9 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (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) 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) Reference file matches