Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 110.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.768/2.768, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 71.88 kB / 1.104 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8296, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002004/0.8316, allocations: 0.7695 MB / 1.27 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.8326, allocations: 0.8701 MB / 1.27 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.8327, allocations: 4 kB / 1.27 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.002e-05/0.8327, allocations: 7.922 kB / 1.27 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.336e-05/0.8328, allocations: 7.875 kB / 1.27 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.833, allocations: 43.89 kB / 1.27 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.8331, allocations: 87.81 kB / 1.271 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.8332, allocations: 15.98 kB / 1.271 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.57e-05/0.8333, allocations: 47.78 kB / 1.271 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.8334, allocations: 55.75 kB / 1.271 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.8334, allocations: 8 kB / 1.271 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.818e-05/0.8334, allocations: 8 kB / 1.271 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.8334, allocations: 19.92 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.8335, allocations: 31.84 kB / 1.271 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.8336, allocations: 93.42 kB / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.8336, allocations: 4 kB / 1.271 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8336, allocations: 0 / 1.271 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.8336, allocations: 0 / 1.271 GB, free: 3.059 MB / 0.9669 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.0006501/0.8343, allocations: 399.1 kB / 1.271 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.8343, allocations: 8.031 kB / 1.271 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.8344, allocations: 34.75 kB / 1.271 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.8344, allocations: 8.891 kB / 1.271 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.8346, allocations: 184.2 kB / 1.271 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.8346, allocations: 384 / 1.271 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.8346, allocations: 12.12 kB / 1.271 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.8349, allocations: 105.6 kB / 1.271 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8349, allocations: 3.984 kB / 1.271 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.8349, allocations: 0 / 1.271 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.8349, allocations: 4 kB / 1.272 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.8353, allocations: 95.91 kB / 1.272 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.8358, allocations: 352.6 kB / 1.272 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006076/0.8364, allocations: 110.5 kB / 1.272 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.8366, allocations: 56.88 kB / 1.272 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.8367, allocations: 3.938 kB / 1.272 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.8367, allocations: 34.56 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.8367, allocations: 3.938 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006604/0.8373, allocations: 185.5 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.8374, allocations: 55.41 kB / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.8375, allocations: 133.7 kB / 1.272 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.8375, allocations: 25.7 kB / 1.273 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.8376, allocations: 92.09 kB / 1.273 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.8376, allocations: 23.84 kB / 1.273 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.8377, allocations: 17.72 kB / 1.273 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8378, allocations: 322.8 kB / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.838, allocations: 47.95 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.8382, allocations: 47.89 kB / 1.273 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.8385, allocations: 96.77 kB / 1.273 GB, free: 428 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8385, allocations: 0 / 1.273 GB, free: 428 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003903/0.8389, allocations: 133.6 kB / 1.273 GB, free: 288 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.8389, allocations: 6.5 kB / 1.273 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8389, allocations: 7.938 kB / 1.273 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.8389, allocations: 3.984 kB / 1.273 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.8391, allocations: 27.97 kB / 1.273 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.8391, allocations: 8.422 kB / 1.273 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.8392, allocations: 19.92 kB / 1.273 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.8392, allocations: 4 kB / 1.273 GB, free: 212 kB / 0.9669 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 9.634e-05/0.8393, allocations: 113.8 kB / 1.273 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.8394, allocations: 7.953 kB / 1.273 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.8398, allocations: 153.9 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.8398, allocations: 8 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.8398, allocations: 3.938 kB / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.8398, allocations: 0 / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.8401, allocations: 193.6 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8401, allocations: 0 / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.8402, allocations: 39.84 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8402, allocations: 0 / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.8402, allocations: 0 / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8402, allocations: 0 / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8402, allocations: 3.938 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.8407, allocations: 235.4 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.8408, allocations: 85.06 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.8408, allocations: 7.984 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.8409, allocations: 11.98 kB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.841, allocations: 23.92 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.841, allocations: 7.984 kB / 1.274 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.614e-05/0.8411, allocations: 95.27 kB / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8411, allocations: 0 / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002368/0.8413, allocations: 19.94 kB / 1.274 GB, free: 15.11 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.0008486/0.8422, allocations: 0.7706 MB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.8426, allocations: 99.84 kB / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8426, allocations: 0 / 1.275 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.8428, allocations: 67.94 kB / 1.275 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.8431, allocations: 15.92 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.8455, allocations: 1.537 MB / 1.277 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.8458, allocations: 0.6885 MB / 1.277 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.452e-05/0.8459, allocations: 19.88 kB / 1.277 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.846, allocations: 31.41 kB / 1.277 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.846, allocations: 0 / 1.277 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.871, allocations: 2.72 MB / 1.28 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.988, allocations: 5.047 kB / 1.28 GB, free: 9.133 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.04663951182738]