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: "" <> 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.001256/0.001256, 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.001242/0.001242, allocations: 189.6 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.268/1.268, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.371/2.371, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.8689 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4595, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001691/0.4613, allocations: 0.7776 MB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007677/0.4621, allocations: 0.8273 MB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.4621, allocations: 0 / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.4621, allocations: 0 / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.4622, allocations: 7.938 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.4623, allocations: 19.98 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.4624, allocations: 55.83 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.4625, allocations: 12 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.4626, allocations: 19.98 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.4626, allocations: 27.84 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.4627, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.4627, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.4627, allocations: 15.97 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.4627, allocations: 11.94 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.778e-05/0.4628, allocations: 47.8 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4628, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4628, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.4628, allocations: 4 kB / 1.019 GB, free: 0.8164 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.0004129/0.4633, allocations: 357.6 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.4633, allocations: 8.031 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.4633, allocations: 34.75 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.4634, allocations: 8.875 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.4635, allocations: 176.2 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4635, allocations: 4.375 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.4635, allocations: 384 / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.4637, allocations: 77.59 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.4637, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4637, allocations: 3.984 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4637, allocations: 4 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.4639, allocations: 43.95 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.4643, allocations: 296.8 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.4645, allocations: 62.55 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.642e-05/0.4646, allocations: 32.91 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.4646, allocations: 3.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.4646, allocations: 30.56 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4646, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003676/0.465, allocations: 113.5 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.465, allocations: 55.41 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.4651, allocations: 113.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.4651, allocations: 25.7 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.4652, allocations: 80.14 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.4652, allocations: 19.91 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.4652, allocations: 21.7 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.4653, allocations: 318.8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.4654, allocations: 23.97 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.791e-05/0.4655, allocations: 23.97 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.4657, allocations: 64.69 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4657, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002192/0.4659, allocations: 85.56 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.466, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.466, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.466, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.4661, allocations: 11.98 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4661, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.4662, allocations: 7.984 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4662, allocations: 4 kB / 1.021 GB, free: 14.5 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.366e-05/0.4663, allocations: 118.3 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.4663, allocations: 3.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.4663, allocations: 3.906 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4663, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4663, allocations: 3.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.4663, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.4665, allocations: 177.6 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4665, allocations: 336 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.792e-05/0.4666, allocations: 19.98 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4666, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.4666, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4666, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4666, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.4669, allocations: 191.3 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.4669, allocations: 77.11 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.4669, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-05/0.467, allocations: 8.234 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.4671, allocations: 11.98 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/0.4671, allocations: 4 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.4671, allocations: 95.16 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4671, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002057/0.4674, allocations: 7.938 kB / 1.021 GB, free: 13.69 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.0004678/0.4678, allocations: 0.7241 MB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.4681, allocations: 59.89 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4681, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.4682, allocations: 35.97 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.4684, allocations: 13.48 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.4697, allocations: 1.319 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.4699, allocations: 0.6846 MB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.111e-05/0.4699, allocations: 4 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.47, allocations: 19.42 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.47, allocations: 3.938 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.573/2.043, allocations: 1.624 MB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/2.043, allocations: 197.2 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/4.484, allocations: 3.938 kB / 1.026 GB, free: 8.926 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