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.0008704/0.0008703, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005388/0.005388, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.246/1.246, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.266/2.266, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 8.281 kB / 0.873 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5707/0.5711, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.0007879/0.5719, allocations: 441.2 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008356/0.5728, allocations: 0.8312 MB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.5728, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.5728, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.5729, allocations: 7.938 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.573, allocations: 19.98 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.5731, allocations: 39.92 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.5732, allocations: 19.91 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.5733, allocations: 19.98 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.5734, allocations: 23.86 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.5734, allocations: 0 / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.5734, allocations: 4 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.5734, allocations: 7.969 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.5735, allocations: 41.62 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.458e-05/0.5736, allocations: 43.8 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5736, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5736, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.5736, allocations: 0 / 1.025 GB, free: 14.34 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.0004378/0.574, allocations: 351.5 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5741, allocations: 8.031 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.5741, allocations: 34.75 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.5741, allocations: 8.844 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.5743, allocations: 172.3 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.5743, allocations: 8.359 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.5743, allocations: 12.06 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.5745, allocations: 73.66 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.5745, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5745, allocations: 4 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.5746, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.5748, allocations: 67.94 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.5751, allocations: 284.7 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.5754, allocations: 74.48 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.5755, allocations: 40.91 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.5755, allocations: 3.938 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.5755, allocations: 34.56 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5755, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004127/0.576, allocations: 125.6 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.576, allocations: 55.41 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.5761, allocations: 105.8 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.5761, allocations: 25.7 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.5761, allocations: 96.03 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.5762, allocations: 11.84 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.5762, allocations: 13.72 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.5763, allocations: 318.8 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.5764, allocations: 27.97 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.771e-05/0.5765, allocations: 39.91 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.5767, allocations: 60.83 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5767, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002476/0.577, allocations: 101.5 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.577, allocations: 10.03 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.577, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.577, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5771, allocations: 19.98 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5772, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.5772, allocations: 11.98 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.5772, allocations: 7.938 kB / 1.027 GB, free: 11.95 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.759e-05/0.5773, allocations: 106.4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.5774, allocations: 8 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.5774, allocations: 7.891 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5774, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5774, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5774, allocations: 8 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.5776, allocations: 181.6 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5776, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.096e-05/0.5777, allocations: 15.98 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5777, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.5777, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5777, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5777, allocations: 4.188 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.578, allocations: 203.7 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.578, allocations: 81.11 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.5781, allocations: 4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.5782, allocations: 7.984 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.5782, allocations: 15.98 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.5782, allocations: 4 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.5783, allocations: 95.14 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5783, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002113/0.5785, allocations: 8 kB / 1.027 GB, free: 11.12 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.0005206/0.579, allocations: 0.7304 MB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.5793, allocations: 63.95 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5793, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.5794, allocations: 47.84 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.5797, allocations: 11.92 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.5811, allocations: 1.346 MB / 1.03 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.5813, allocations: 0.6809 MB / 1.03 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.432e-05/0.5813, allocations: 7.906 kB / 1.03 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.5814, allocations: 19.42 kB / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5814, allocations: 4 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6952/1.277, allocations: 1.509 MB / 1.032 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/1.277, allocations: 200.3 kB / 1.032 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.825, allocations: 0 / 1.032 GB, free: 6.434 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