Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.009728/0.009728, allocations: 97.62 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.002265/0.002265, allocations: 197.3 kB / 16.68 MB, free: 5.977 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 / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.779/2.779, allocations: 469.4 MB / 0.7421 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 63.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3201, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002331/0.3225, allocations: 0.7772 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3238, allocations: 0.8662 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.883e-05/0.324, allocations: 3.938 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.019e-05/0.324, allocations: 7.875 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.882e-05/0.3241, allocations: 11.88 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.3243, allocations: 39.94 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3245, allocations: 83.83 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3246, allocations: 35.95 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3247, allocations: 35.84 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.3248, allocations: 51.81 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.3249, allocations: 8 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.3249, allocations: 8 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.3249, allocations: 19.92 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.325, allocations: 39.73 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.3251, allocations: 91.64 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3251, allocations: 0 / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3252, allocations: 0 / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3252, allocations: 4 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006889/0.3259, allocations: 391.1 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3259, allocations: 8.031 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.326, allocations: 38.75 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.326, allocations: 12.88 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.3262, allocations: 176.2 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3262, allocations: 8.375 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3263, allocations: 8.125 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.3266, allocations: 101.6 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3266, allocations: 0 / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.3266, allocations: 8 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3266, allocations: 0 / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.327, allocations: 95.89 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.3277, allocations: 348.6 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.3283, allocations: 114.6 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.3286, allocations: 68.78 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.3286, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3286, allocations: 30.56 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3286, allocations: 3.938 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007546/0.3294, allocations: 181.5 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3295, allocations: 55.41 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3296, allocations: 129.7 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/0.3296, allocations: 33.7 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.3297, allocations: 92.08 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.3297, allocations: 19.86 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.3298, allocations: 25.7 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3299, allocations: 314.8 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3301, allocations: 51.89 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3303, allocations: 51.92 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.3307, allocations: 101.2 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3307, allocations: 4 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004284/0.3311, allocations: 133.5 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3312, allocations: 8 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3312, allocations: 0 / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3312, allocations: 0 / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3314, allocations: 27.97 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3314, allocations: 7.938 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.3315, allocations: 15.92 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3316, allocations: 0 / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001034/0.3317, allocations: 123.2 kB / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3317, allocations: 11.94 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.3322, allocations: 150 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3322, allocations: 3.938 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3322, allocations: 7.938 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3323, allocations: 0 / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.3325, allocations: 201.6 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3325, allocations: 0 / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.3327, allocations: 27.97 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3327, allocations: 0 / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3327, allocations: 0 / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3327, allocations: 11.92 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.3327, allocations: 3.938 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.3332, allocations: 227.4 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.3333, allocations: 85.06 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.3333, allocations: 4 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3334, allocations: 15.98 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.438e-05/0.3335, allocations: 27.91 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3335, allocations: 0 / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.252e-05/0.3336, allocations: 95.27 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3336, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002421/0.3339, allocations: 16 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008766/0.3348, allocations: 0.7747 MB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.3352, allocations: 107.9 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3352, allocations: 0 / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.3355, allocations: 59.89 kB / 1.226 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.3358, allocations: 21.73 kB / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3381, allocations: 1.538 MB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3385, allocations: 0.6885 MB / 1.228 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.192e-05/0.3385, allocations: 15.98 kB / 1.228 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/0.3386, allocations: 27.42 kB / 1.228 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of SimCode: time 4.7e-07/0.3386, allocations: 0 / 1.228 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.3588, allocations: 2.707 MB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.12, allocations: 12.19 kB / 1.231 GB, free: 2.629 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches