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.007333/0.007333, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001572/0.001572, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.293/2.293, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.89 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8595/0.8611, allocations: 140.4 MB / 1.087 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00166/0.8628, allocations: 0.7016 MB / 1.088 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008023/0.8636, allocations: 0.8389 MB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.8636, allocations: 0.875 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.8637, allocations: 4.547 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.8637, allocations: 5.562 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.8639, allocations: 23.16 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.864, allocations: 48.77 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.8641, allocations: 16.84 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.222e-05/0.8641, allocations: 19 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.8642, allocations: 26.47 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.8642, allocations: 3.781 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.8643, allocations: 4.344 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.8643, allocations: 12.66 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.8643, allocations: 20.84 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.985e-05/0.8644, allocations: 43.94 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8644, allocations: 0.7969 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8644, allocations: 0 / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.8644, allocations: 4 kB / 1.089 GB, free: 3.902 MB / 0.8575 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.0004254/0.8649, allocations: 359.1 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.8649, allocations: 9.25 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.695e-05/0.865, allocations: 33 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.865, allocations: 12.02 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.59e-05/0.8651, allocations: 164.5 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.8651, allocations: 6.344 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.8651, allocations: 6.25 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.8653, allocations: 69.12 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.8653, allocations: 3.938 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.8654, allocations: 1.094 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.8654, allocations: 0.6562 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.8656, allocations: 57.58 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.866, allocations: 286.1 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.8662, allocations: 67.28 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.8663, allocations: 32.31 kB / 1.09 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.8663, allocations: 1.828 kB / 1.09 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.8663, allocations: 39.56 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.8663, allocations: 0 / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000424/0.8668, allocations: 111.2 kB / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.8668, allocations: 53.16 kB / 1.09 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.656e-05/0.8669, allocations: 108.2 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.8669, allocations: 26.45 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.8669, allocations: 87.36 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.8669, allocations: 14.33 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.867, allocations: 24.31 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.867, allocations: 317.3 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.8671, allocations: 27.06 kB / 1.091 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.8673, allocations: 23.05 kB / 1.091 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.8675, allocations: 59.48 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8675, allocations: 0 / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002501/0.8677, allocations: 92.89 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.8678, allocations: 4.344 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.8678, allocations: 1.453 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.8678, allocations: 1.062 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.8679, allocations: 11.92 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.8679, allocations: 1.609 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.868, allocations: 5.953 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.868, allocations: 5.625 kB / 1.091 GB, free: 2.055 MB / 0.8575 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.281e-05/0.8681, allocations: 122.1 kB / 1.091 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.8681, allocations: 1.406 kB / 1.091 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.8681, allocations: 10.19 kB / 1.091 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8681, allocations: 3.938 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.8682, allocations: 1.094 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8682, allocations: 0.6094 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.8683, allocations: 179.2 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8683, allocations: 0 / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.8684, allocations: 17.44 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8684, allocations: 4 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.8684, allocations: 1.656 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.8684, allocations: 0.5156 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8684, allocations: 1.062 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.8687, allocations: 183.9 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.8688, allocations: 79.69 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.8688, allocations: 4.656 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.8689, allocations: 11.12 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.8689, allocations: 11.05 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.869, allocations: 1.641 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.958e-05/0.869, allocations: 90.25 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.869, allocations: 4.906 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002277/0.8692, allocations: 10.27 kB / 1.092 GB, free: 1.359 MB / 0.8575 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.0005791/0.8698, allocations: 0.7136 MB / 1.093 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.8701, allocations: 57.7 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8701, allocations: 0 / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.8702, allocations: 38.48 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.8705, allocations: 3.688 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.8721, allocations: 1.317 MB / 1.094 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.8723, allocations: 0.6812 MB / 1.095 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.87e-05/0.8724, allocations: 8.891 kB / 1.095 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.8724, allocations: 21.44 kB / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.8724, allocations: 0 / 1.095 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.8908, allocations: 1.812 MB / 1.096 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/9.003, allocations: 3.031 kB / 1.096 GB, free: 14.34 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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