Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_9_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.00781/0.00781, allocations: 99.88 kB / 15.73 MB, free: 6.062 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.001871/0.001871, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.209/2.209, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9223/0.9238, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002726/0.9266, allocations: 0.7836 MB / 1.088 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.9282, allocations: 0.8599 MB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.9283, allocations: 1.094 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.865e-05/0.9284, allocations: 5.625 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.9285, allocations: 14.69 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.9288, allocations: 46.31 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.929, allocations: 82.77 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.9291, allocations: 22.88 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.9293, allocations: 44.03 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.9294, allocations: 44.28 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.9295, allocations: 7.938 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.792e-05/0.9295, allocations: 8.219 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.9296, allocations: 31.59 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.9297, allocations: 35.58 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.93, allocations: 82.23 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.93, allocations: 0 / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.495e-06/0.93, allocations: 1.312 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.93, allocations: 4.547 kB / 1.089 GB, free: 3.906 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000869/0.9309, allocations: 393.9 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.931, allocations: 10 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.351e-05/0.931, allocations: 41.95 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.9311, allocations: 8.969 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.9313, allocations: 179.3 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.9313, allocations: 6.594 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.9313, allocations: 12.5 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.9319, allocations: 101.5 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.9319, allocations: 0 / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.9319, allocations: 1.688 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.9319, allocations: 5.094 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.9324, allocations: 97.73 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.9332, allocations: 348.8 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.9342, allocations: 129.8 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.9346, allocations: 56.08 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.9346, allocations: 5.875 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.9346, allocations: 31.22 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.9346, allocations: 0 / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001037/0.9357, allocations: 186.7 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.9357, allocations: 52.97 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.9359, allocations: 123.5 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.9359, allocations: 26.73 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.936, allocations: 101.3 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.9361, allocations: 16.03 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.9361, allocations: 27.34 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.9362, allocations: 322.8 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.9364, allocations: 44.66 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.9368, allocations: 48.52 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005825/0.9374, allocations: 96.52 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9374, allocations: 0 / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007325/0.9381, allocations: 139.2 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.9382, allocations: 10.02 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.9382, allocations: 0.6875 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.9382, allocations: 0.9062 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.9385, allocations: 27.52 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.9385, allocations: 4.922 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.9387, allocations: 21.02 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.9388, allocations: 6.938 kB / 1.092 GB, free: 1.891 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: 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.0001048/0.9389, allocations: 120.7 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.9389, allocations: 3.719 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007342/0.9397, allocations: 144.4 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.9397, allocations: 1.188 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.9397, allocations: 5.672 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.9397, allocations: 0 / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.9401, allocations: 206.7 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9401, allocations: 3.938 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.9403, allocations: 24.75 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.9404, allocations: 0.8438 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.9404, allocations: 2.156 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.9404, allocations: 0.9375 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.9404, allocations: 8.453 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.9411, allocations: 235.2 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.9412, allocations: 79.94 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.9412, allocations: 1.641 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.9414, allocations: 16.05 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.9416, allocations: 25.14 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.9416, allocations: 7.688 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.9417, allocations: 100.7 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9417, allocations: 3.938 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004779/0.9422, allocations: 19.83 kB / 1.093 GB, free: 1.109 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: 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.001051/0.9432, allocations: 0.7626 MB / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000705/0.944, allocations: 111.2 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.944, allocations: 1.031 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.9443, allocations: 61.16 kB / 1.094 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.9447, allocations: 12.67 kB / 1.094 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.9469, allocations: 1.536 MB / 1.095 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.9471, allocations: 0.6949 MB / 1.096 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.378e-05/0.9472, allocations: 16.48 kB / 1.096 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.9473, allocations: 26.97 kB / 1.096 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/0.9473, allocations: 0.9688 kB / 1.096 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.9716, allocations: 2.696 MB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.971, allocations: 1.156 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches