Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001185/0.001185, allocations: 99 kB / 15.05 MB, free: 1.105 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.001516/0.001516, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.835/2.835, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005238, allocations: 8 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8193, allocations: 153.7 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.0009382/0.8203, allocations: 429.2 kB / 1.021 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008741/0.8212, allocations: 0.8196 MB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.8213, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.8213, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.543e-05/0.8214, allocations: 11.97 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.8215, allocations: 19.92 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.616e-05/0.8216, allocations: 23.91 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.8217, allocations: 16 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.8218, allocations: 11.98 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/0.8218, allocations: 27.89 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.8218, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.8219, allocations: 4 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.8219, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.8219, allocations: 33.7 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.203e-05/0.822, allocations: 27.92 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.822, allocations: 0 / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.953e-06/0.822, allocations: 4 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.822, allocations: 4 kB / 1.022 GB, free: 15.64 MB / 0.7794 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.0004664/0.8225, allocations: 345.2 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.8225, allocations: 15.98 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.8226, allocations: 3.906 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.8227, allocations: 175 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.8227, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.8227, allocations: 4 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.8229, allocations: 81.59 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.823, allocations: 0 / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.823, allocations: 4 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.823, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.8232, allocations: 63.94 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.8236, allocations: 288.7 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.8238, allocations: 70.69 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.8239, allocations: 8.016 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.8239, allocations: 34.56 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.8239, allocations: 3.938 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004164/0.8243, allocations: 121.6 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.8244, allocations: 59.41 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.8244, allocations: 105.8 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.8245, allocations: 25.7 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.8245, allocations: 84.14 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.8245, allocations: 15.75 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.8245, allocations: 4 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.8246, allocations: 314.8 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.8247, allocations: 27.98 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.699e-05/0.8249, allocations: 36.14 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.825, allocations: 27.98 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.825, allocations: 3.953 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002394/0.8252, allocations: 101.6 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.8252, allocations: 4 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.8253, allocations: 4 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.8253, allocations: 0 / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.8254, allocations: 15.98 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.8254, allocations: 0 / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.8255, allocations: 11.98 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.8255, allocations: 0 / 1.024 GB, free: 13.41 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 (abs1.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.523e-05/0.8256, allocations: 117.8 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.8256, allocations: 7.859 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.8256, allocations: 12.14 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.8257, allocations: 4 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8257, allocations: 4 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.8257, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.8258, allocations: 173.7 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.8258, allocations: 3.984 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.8259, allocations: 19.94 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.826, allocations: 0 / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.826, allocations: 8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.826, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.826, allocations: 7.875 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.8263, allocations: 187.5 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.8263, allocations: 89.02 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.8264, allocations: 3.953 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.8265, allocations: 7.984 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.8265, allocations: 7.984 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.8265, allocations: 8 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.8266, allocations: 79.28 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8266, allocations: 0 / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002166/0.8268, allocations: 19.98 kB / 1.025 GB, free: 12.57 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 (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.000111/0.8269, allocations: 95.25 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.8272, allocations: 63.89 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8272, allocations: 0 / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.8273, allocations: 43.97 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.8275, allocations: 4 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.8278, allocations: 136.6 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.828, allocations: 0.6848 MB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.713e-05/0.8281, allocations: 7.984 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.8281, allocations: 7.438 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.8281, allocations: 0 / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.002593/0.8307, allocations: 0.7413 MB / 1.027 GB, free: 10.73 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches