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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001658/0.001658, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.232/1.232, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.276/2.276, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 64.09 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4712/0.4724, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001638/0.4741, allocations: 0.766 MB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007196/0.4748, allocations: 0.8351 MB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.4748, allocations: 0 / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.4749, allocations: 0 / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.4749, allocations: 0 / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.4751, allocations: 27.92 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.084e-05/0.4751, allocations: 47.91 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.876e-05/0.4752, allocations: 11.98 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.4753, allocations: 23.86 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.4753, allocations: 23.91 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.4754, allocations: 0 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.4754, allocations: 4 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.4754, allocations: 7.984 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.4754, allocations: 23.86 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.832e-05/0.4755, allocations: 39.86 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4755, allocations: 0 / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4755, allocations: 4 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.4755, allocations: 0 / 1.019 GB, free: 1 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.0004115/0.4759, allocations: 353.7 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.476, allocations: 8.031 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.476, allocations: 38.73 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.083e-05/0.476, allocations: 0.9375 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.4761, allocations: 184.2 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.4762, allocations: 384 / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.4762, allocations: 8.312 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.4764, allocations: 65.59 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.4764, allocations: 0 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4764, allocations: 8 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.4764, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.4766, allocations: 55.94 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.477, allocations: 280.8 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.4772, allocations: 70.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4773, allocations: 28.89 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.4773, allocations: 4 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.4773, allocations: 30.56 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.4773, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003858/0.4777, allocations: 117.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.4777, allocations: 51.41 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.4778, allocations: 109.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.4778, allocations: 25.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.4779, allocations: 92.02 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.4779, allocations: 11.92 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.4779, allocations: 21.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.478, allocations: 318.8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4781, allocations: 23.97 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.72e-05/0.4782, allocations: 27.98 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.4784, allocations: 53.09 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4784, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002284/0.4786, allocations: 93.47 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.4787, allocations: 8 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.4787, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.4787, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.4788, allocations: 15.98 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.4788, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/0.4789, allocations: 12.23 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4789, allocations: 0 / 1.021 GB, free: 14.69 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 6.291e-05/0.479, allocations: 114.3 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.479, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.479, allocations: 11.91 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.479, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.479, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.479, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.4792, allocations: 185.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4792, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.4793, allocations: 11.98 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4793, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4793, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4793, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4793, allocations: 7.922 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.4796, allocations: 183.5 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.4796, allocations: 81.09 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.4797, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.349e-05/0.4798, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.4798, allocations: 19.91 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.4798, allocations: 4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.4799, allocations: 83.28 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4799, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002064/0.4801, allocations: 15.84 kB / 1.021 GB, free: 13.87 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.0004995/0.4806, allocations: 0.7202 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.4808, allocations: 51.95 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.4808, allocations: 7.938 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.4809, allocations: 35.91 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.4812, allocations: 5.266 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4825, allocations: 1.329 MB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.4827, allocations: 0.6809 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.4828, allocations: 4 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.4828, allocations: 23.42 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.4828, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.677/4.16, allocations: 1.572 MB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/4.16, allocations: 203.1 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/6.446, allocations: 0 / 1.026 GB, free: 9.145 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > 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/jenkins1/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