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.001213/0.001213, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 197.6 kB / 16.53 MB, free: 6.699 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.441/2.441, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.88 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5872/0.5887, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002511/0.5912, allocations: 0.705 MB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.5925, allocations: 0.839 MB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.5926, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.479e-05/0.5927, allocations: 7.938 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.5928, allocations: 3.938 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.593, allocations: 15.98 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.5931, allocations: 51.84 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.5932, allocations: 15.98 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.5933, allocations: 19.98 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.5934, allocations: 23.84 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.5934, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.5934, allocations: 12 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.5935, allocations: 15.97 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.5935, allocations: 11.94 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.297e-05/0.5936, allocations: 51.8 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5936, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5936, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.5936, allocations: 0 / 1.019 GB, free: 0.6836 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.0004595/0.5941, allocations: 353.5 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5941, allocations: 12.03 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.5942, allocations: 38.75 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.5942, allocations: 4.938 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.5943, allocations: 172.2 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.5944, allocations: 8.359 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.5944, allocations: 4.375 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.5946, allocations: 73.58 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5946, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.5946, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5946, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.5948, allocations: 55.89 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.5953, allocations: 284.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.5955, allocations: 70.53 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.5956, allocations: 36.91 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.5957, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.5957, allocations: 34.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5957, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000458/0.5962, allocations: 109.5 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.5962, allocations: 55.41 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.5963, allocations: 109.8 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.5963, allocations: 25.7 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.5964, allocations: 88.08 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.5964, allocations: 11.84 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.5965, allocations: 17.7 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5966, allocations: 322.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.5967, allocations: 27.97 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.5968, allocations: 23.97 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.5971, allocations: 64.69 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5971, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002519/0.5973, allocations: 85.56 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.5973, allocations: 5.875 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5974, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.5974, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.5975, allocations: 11.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.5975, allocations: 4.25 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.5976, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.5976, allocations: 4 kB / 1.021 GB, free: 14.37 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 7.565e-05/0.5977, allocations: 121.7 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.5977, allocations: 3.984 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.5977, allocations: 7.906 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5978, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5978, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.5978, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.5979, allocations: 181.6 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5979, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.5981, allocations: 11.98 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5981, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.5981, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5981, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5981, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.5984, allocations: 183.3 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.5984, allocations: 81.48 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.5984, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.5985, allocations: 15.92 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.5986, allocations: 7.984 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.5986, allocations: 11.98 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.5987, allocations: 79.28 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5987, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000227/0.5989, allocations: 15.94 kB / 1.022 GB, free: 13.55 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.0006015/0.5995, allocations: 0.7182 MB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.5998, allocations: 59.89 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5998, allocations: 3.938 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.5999, allocations: 31.97 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.6002, allocations: 7.938 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.6017, allocations: 1.327 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.602, allocations: 0.6807 MB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.703e-05/0.602, allocations: 8 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.6021, allocations: 15.42 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6021, allocations: 0 / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8429/1.445, allocations: 1.782 MB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/9.21, allocations: 17.06 kB / 1.026 GB, free: 8.844 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