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.001154/0.001154, 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.001137/0.001137, allocations: 194.5 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.329/1.329, 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 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6716, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00188/0.6735, allocations: 0.6915 MB / 0.9504 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007366/0.6743, allocations: 0.8356 MB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.6743, allocations: 5.312 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.6743, allocations: 3.938 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.377e-05/0.6744, allocations: 9.312 kB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.6745, allocations: 27.84 kB / 0.9513 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.608e-05/0.6746, allocations: 35.2 kB / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.6747, allocations: 14.02 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.6748, allocations: 31.03 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.6749, allocations: 27.5 kB / 0.9514 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.6749, allocations: 7.469 kB / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.6749, allocations: 4.469 kB / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.6749, allocations: 9.312 kB / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.675, allocations: 19.86 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.484e-05/0.675, allocations: 44.09 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6751, allocations: 0 / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6751, allocations: 1.25 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.6751, allocations: 0 / 0.9515 GB, free: 7.84 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.000448/0.6755, allocations: 346.1 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6756, allocations: 14.09 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.6756, allocations: 36.05 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.6757, allocations: 7.094 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.6758, allocations: 166.8 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.6758, allocations: 9.594 kB / 0.952 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.6758, allocations: 7.078 kB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.676, allocations: 72.19 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.676, allocations: 0 / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.676, allocations: 1.406 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.6761, allocations: 4 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.6763, allocations: 56.31 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.6766, allocations: 289.5 kB / 0.9524 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.6769, allocations: 72.19 kB / 0.9525 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.677, allocations: 27.55 kB / 0.9525 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.677, allocations: 0 / 0.9525 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.677, allocations: 35.62 kB / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.677, allocations: 0 / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004279/0.6774, allocations: 114.6 kB / 0.9527 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.6775, allocations: 55.34 kB / 0.9527 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.6776, allocations: 110.6 kB / 0.9528 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.6776, allocations: 25.7 kB / 0.9528 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.6776, allocations: 86.89 kB / 0.9529 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.6776, allocations: 9 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.6777, allocations: 24.92 kB / 0.953 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.6777, allocations: 316 kB / 0.9533 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.6778, allocations: 29.12 kB / 0.9533 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.288e-05/0.6779, allocations: 25.2 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.6781, allocations: 50.97 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6781, allocations: 0 / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002357/0.6784, allocations: 93.73 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6784, allocations: 9.156 kB / 0.9535 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6784, allocations: 1.344 kB / 0.9535 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6784, allocations: 0 / 0.9535 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.6786, allocations: 13.52 kB / 0.9535 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.6786, allocations: 0 / 0.9535 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.829e-05/0.6787, allocations: 12.42 kB / 0.9535 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.6787, allocations: 1.25 kB / 0.9535 GB, free: 5.84 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 6.212e-05/0.6787, allocations: 120.3 kB / 0.9536 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.6788, allocations: 5.438 kB / 0.9536 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.6788, allocations: 10.11 kB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6788, allocations: 0 / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6788, allocations: 0 / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6788, allocations: 3.984 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.679, allocations: 175.7 kB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.679, allocations: 1.156 kB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.6791, allocations: 13.02 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6791, allocations: 0 / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.6791, allocations: 1.281 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.6791, allocations: 7.984 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6791, allocations: 0 / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.6793, allocations: 192.7 kB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.6794, allocations: 78.61 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.6794, allocations: 1.531 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.6795, allocations: 3.031 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.6796, allocations: 15.92 kB / 0.9541 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.6796, allocations: 5.203 kB / 0.9541 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.508e-05/0.6796, allocations: 84.06 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6796, allocations: 1.531 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002159/0.6798, allocations: 9.625 kB / 0.9542 GB, free: 5.109 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.0004355/0.6803, allocations: 0.7208 MB / 0.9549 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.6805, allocations: 59.62 kB / 0.9549 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6805, allocations: 0 / 0.9549 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.6806, allocations: 38.22 kB / 0.955 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.6809, allocations: 9.125 kB / 0.955 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.6823, allocations: 1.318 MB / 0.9563 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.6825, allocations: 0.6878 MB / 0.9569 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.652e-05/0.6825, allocations: 8.375 kB / 0.957 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.6826, allocations: 14.28 kB / 0.957 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6826, allocations: 0 / 0.957 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/0.8022, allocations: 1.787 MB / 0.9587 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/8.383, allocations: 2.297 kB / 0.9587 GB, free: 1.387 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