Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_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.001918/0.001918, 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.002476/0.002476, allocations: 194.3 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.2 MB / 0.6644 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 63.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6787/0.681, allocations: 140.4 MB / 0.9493 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001784/0.6829, allocations: 0.7568 MB / 0.95 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006622/0.6835, allocations: 0.8288 MB / 0.9508 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.6836, allocations: 1.375 kB / 0.9508 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.6836, allocations: 7.922 kB / 0.9508 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.6837, allocations: 5.375 kB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.6838, allocations: 24.17 kB / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.6839, allocations: 42.36 kB / 0.9509 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.684, allocations: 18.06 kB / 0.9509 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/0.6841, allocations: 19.11 kB / 0.9509 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.6841, allocations: 23.61 kB / 0.9509 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.6842, allocations: 4.375 kB / 0.9509 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.6842, allocations: 3.625 kB / 0.9509 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.6842, allocations: 17.48 kB / 0.951 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.6842, allocations: 23.41 kB / 0.951 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.067e-05/0.6843, allocations: 40.06 kB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6843, allocations: 5.016 kB / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6843, allocations: 0 / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.6843, allocations: 0 / 0.951 GB, free: 7.719 MB / 0.7169 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.0004384/0.6848, allocations: 343.2 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.6848, allocations: 9.094 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.629e-05/0.6849, allocations: 39.92 kB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.6849, allocations: 11.47 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.685, allocations: 171 kB / 0.9516 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.685, allocations: 1.812 kB / 0.9516 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.685, allocations: 7.094 kB / 0.9516 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.6852, allocations: 76.33 kB / 0.9517 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.6852, allocations: 3.984 kB / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.6853, allocations: 0 / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.6853, allocations: 1.312 kB / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.6855, allocations: 55.25 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.6858, allocations: 289.3 kB / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.686, allocations: 66.05 kB / 0.9521 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.6861, allocations: 34.62 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.6861, allocations: 0 / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.578e-06/0.6861, allocations: 31.94 kB / 0.9521 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.6861, allocations: 0 / 0.9521 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003887/0.6865, allocations: 109.5 kB / 0.9522 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.719e-05/0.6866, allocations: 56.98 kB / 0.9523 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/0.6866, allocations: 113.3 kB / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.6866, allocations: 30.95 kB / 0.9524 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.6867, allocations: 85.34 kB / 0.9525 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.6867, allocations: 13 kB / 0.9525 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.6867, allocations: 14.88 kB / 0.9525 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.6868, allocations: 324.2 kB / 0.9528 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.6869, allocations: 20.17 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.981e-05/0.687, allocations: 32.5 kB / 0.9529 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.6872, allocations: 60.44 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6872, allocations: 0 / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002218/0.6874, allocations: 88.8 kB / 0.953 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6874, allocations: 4.812 kB / 0.953 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6874, allocations: 1.531 kB / 0.953 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.6874, allocations: 4 kB / 0.953 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.6876, allocations: 12.77 kB / 0.953 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.6876, allocations: 0 / 0.953 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.6877, allocations: 8.141 kB / 0.9531 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.6877, allocations: 1.375 kB / 0.9531 GB, free: 5.719 MB / 0.7169 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 5.43e-05/0.6877, allocations: 116.7 kB / 0.9532 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.6878, allocations: 5.312 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.6878, allocations: 5.188 kB / 0.9532 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.6878, allocations: 5.531 kB / 0.9532 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6878, allocations: 0 / 0.9532 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.6878, allocations: 4.266 kB / 0.9532 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.6879, allocations: 184.1 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6879, allocations: 0 / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.873e-05/0.688, allocations: 12.11 kB / 0.9534 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6881, allocations: 1.312 kB / 0.9534 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.6881, allocations: 3.984 kB / 0.9534 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6881, allocations: 1.688 kB / 0.9534 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6881, allocations: 0 / 0.9534 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.6883, allocations: 188.8 kB / 0.9536 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.6884, allocations: 82.28 kB / 0.9536 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.6884, allocations: 0 / 0.9536 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.6885, allocations: 3.75 kB / 0.9536 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.6886, allocations: 13.05 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.6886, allocations: 0.8438 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.785e-05/0.6886, allocations: 96.3 kB / 0.9537 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6886, allocations: 3.938 kB / 0.9537 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002306/0.6888, allocations: 10.78 kB / 0.9538 GB, free: 4.98 MB / 0.7169 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.000422/0.6893, allocations: 0.7162 MB / 0.9545 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.6895, allocations: 67.72 kB / 0.9545 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6895, allocations: 0 / 0.9545 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.6896, allocations: 31.16 kB / 0.9546 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.6899, allocations: 6.75 kB / 0.9546 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.6911, allocations: 1.329 MB / 0.9559 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.801e-05/0.6912, allocations: 0.6843 MB / 0.9565 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.005e-05/0.6913, allocations: 12.08 kB / 0.9565 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.6914, allocations: 14.28 kB / 0.9565 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/0.6914, allocations: 0 / 0.9565 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.7026, allocations: 1.629 MB / 0.9581 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.7028, allocations: 194.9 kB / 0.9583 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.536, allocations: 0 / 0.9583 GB, free: 1.164 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches