Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_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.001205/0.001204, allocations: 108 kB / 15.61 MB, free: 152 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.001159/0.001159, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003252/0.003252, allocations: 63.8 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2473, allocations: 159.2 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001655/0.249, allocations: 0.7035 MB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007875/0.2498, allocations: 0.8291 MB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.2498, allocations: 4 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.2499, allocations: 3.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.2499, allocations: 3.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.25, allocations: 19.98 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.464e-05/0.2501, allocations: 51.84 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.2502, allocations: 19.97 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.378e-05/0.2503, allocations: 19.94 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.2503, allocations: 27.84 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.2504, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.2504, allocations: 7.938 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.2504, allocations: 11.98 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.2504, allocations: 19.86 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.235e-05/0.2505, allocations: 43.86 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2505, allocations: 0 / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2505, allocations: 0 / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.2506, allocations: 8 kB / 1.066 GB, free: 12.36 MB / 0.8262 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.000426/0.251, allocations: 347.7 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.251, allocations: 8.031 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.2511, allocations: 38.75 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.2511, allocations: 0.9375 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2512, allocations: 172.3 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.2512, allocations: 384 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.2512, allocations: 4.375 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.2515, allocations: 85.5 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.2515, allocations: 0 / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.2515, allocations: 4 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.2515, allocations: 0 / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.2517, allocations: 47.95 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.2521, allocations: 292.8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.2523, allocations: 70.52 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.948e-05/0.2524, allocations: 28.88 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.2524, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.2524, allocations: 30.56 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.2524, allocations: 8 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003839/0.2528, allocations: 109.5 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.2529, allocations: 51.41 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.2529, allocations: 109.8 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.253, allocations: 29.64 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.253, allocations: 80.14 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.253, allocations: 23.8 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.2531, allocations: 17.66 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2532, allocations: 318.8 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.2533, allocations: 23.97 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.353e-05/0.2534, allocations: 27.97 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.2536, allocations: 53.09 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2536, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002269/0.2538, allocations: 85.64 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2538, allocations: 8 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2539, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2539, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.254, allocations: 15.92 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.254, allocations: 7.922 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.2541, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.2541, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 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.797e-05/0.2542, allocations: 121.8 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.2542, allocations: 3.906 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.2542, allocations: 7.906 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2542, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2542, allocations: 256 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.2542, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.2544, allocations: 189.6 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2544, allocations: 0 / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.2545, allocations: 15.98 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2545, allocations: 0 / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.2545, allocations: 0 / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2545, allocations: 0 / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2545, allocations: 0 / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.2548, allocations: 187.4 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.2549, allocations: 88.95 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.2549, allocations: 0 / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.068e-05/0.255, allocations: 11.98 kB / 1.068 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.255, allocations: 7.984 kB / 1.068 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.255, allocations: 8 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.2551, allocations: 83.27 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2551, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002415/0.2553, allocations: 11.94 kB / 1.069 GB, free: 9.234 MB / 0.8262 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.0005544/0.2559, allocations: 0.7217 MB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.2561, allocations: 51.95 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2561, allocations: 4 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2563, allocations: 31.97 kB / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.2565, allocations: 11.98 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2579, allocations: 1.315 MB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.2581, allocations: 0.6846 MB / 1.071 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.2582, allocations: 4.047 kB / 1.071 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.2582, allocations: 19.42 kB / 1.071 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2582, allocations: 0 / 1.071 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.815/2.073, allocations: 1.787 MB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/14.84, allocations: 7.188 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches