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.001932/0.001932, allocations: 113.1 kB / 18.14 MB, free: 3.781 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.002342/0.002342, allocations: 202 kB / 21.43 MB, free: 0.5 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.549/1.549, allocations: 225.6 MB / 250.2 MB, free: 13.27 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.773/2.773, allocations: 476.7 MB / 0.7637 GB, free: 10.08 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.002993/0.002993, allocations: 63.89 kB / 1.108 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9011/0.9041, allocations: 168.7 MB / 1.273 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002226/0.9063, allocations: 0.7775 MB / 1.274 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.9075, allocations: 0.8779 MB / 1.274 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.9076, allocations: 8 kB / 1.274 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.9076, allocations: 3.938 kB / 1.274 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.9077, allocations: 7.875 kB / 1.274 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.9079, allocations: 43.94 kB / 1.275 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.908, allocations: 79.83 kB / 1.275 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.9081, allocations: 19.98 kB / 1.275 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.789e-05/0.9082, allocations: 43.83 kB / 1.275 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.9083, allocations: 47.83 kB / 1.275 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.9084, allocations: 8 kB / 1.275 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.9084, allocations: 8 kB / 1.275 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.9084, allocations: 23.91 kB / 1.275 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.9085, allocations: 35.8 kB / 1.275 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.9086, allocations: 93.42 kB / 1.275 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9086, allocations: 0 / 1.275 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9086, allocations: 0 / 1.275 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.9086, allocations: 0 / 1.275 GB, free: 2.219 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.0007065/0.9093, allocations: 395.1 kB / 1.275 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.9094, allocations: 12.03 kB / 1.275 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.9094, allocations: 38.75 kB / 1.275 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.9094, allocations: 12.89 kB / 1.275 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.9096, allocations: 176.3 kB / 1.275 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.9096, allocations: 4.375 kB / 1.275 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.9097, allocations: 12.12 kB / 1.275 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.91, allocations: 110.7 kB / 1.276 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.91, allocations: 0 / 1.276 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.91, allocations: 0 / 1.276 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.91, allocations: 4 kB / 1.276 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.9104, allocations: 99.89 kB / 1.276 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.911, allocations: 348.6 kB / 1.276 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/0.9116, allocations: 114.6 kB / 1.276 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.9118, allocations: 52.81 kB / 1.276 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.9119, allocations: 4 kB / 1.276 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.9119, allocations: 34.55 kB / 1.276 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 3.056e-06/0.9119, allocations: 7.938 kB / 1.276 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006976/0.9126, allocations: 185.4 kB / 1.276 GB, free: 476 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.9126, allocations: 51.41 kB / 1.276 GB, free: 412 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.9128, allocations: 129.8 kB / 1.277 GB, free: 272 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.9128, allocations: 25.7 kB / 1.277 GB, free: 240 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.9128, allocations: 96.09 kB / 1.277 GB, free: 140 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.9129, allocations: 23.84 kB / 1.277 GB, free: 116 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.9129, allocations: 21.7 kB / 1.277 GB, free: 88 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.9131, allocations: 318.8 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.9133, allocations: 43.95 kB / 1.277 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.9134, allocations: 47.95 kB / 1.277 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.9138, allocations: 100.7 kB / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9138, allocations: 0 / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004456/0.9143, allocations: 141.5 kB / 1.277 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.9143, allocations: 8 kB / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.9143, allocations: 0 / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.9143, allocations: 0 / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.9145, allocations: 31.97 kB / 1.277 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.9145, allocations: 3.938 kB / 1.277 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.9146, allocations: 19.86 kB / 1.277 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.9146, allocations: 0 / 1.277 GB, free: 15.37 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.0001067/0.9147, allocations: 121.8 kB / 1.278 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.9148, allocations: 11.89 kB / 1.278 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.9153, allocations: 142.5 kB / 1.278 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.9153, allocations: 0 / 1.278 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.9153, allocations: 3.938 kB / 1.278 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.9153, allocations: 4 kB / 1.278 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.9155, allocations: 201.6 kB / 1.278 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9155, allocations: 0 / 1.278 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.9157, allocations: 27.97 kB / 1.278 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9157, allocations: 4 kB / 1.278 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.9157, allocations: 4 kB / 1.278 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9157, allocations: 0 / 1.278 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9157, allocations: 3.938 kB / 1.278 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.9162, allocations: 239.4 kB / 1.278 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.796e-05/0.9163, allocations: 89.05 kB / 1.278 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.9163, allocations: 4 kB / 1.278 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.9164, allocations: 11.98 kB / 1.278 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.9165, allocations: 23.91 kB / 1.278 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.9165, allocations: 4 kB / 1.278 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.99e-05/0.9166, allocations: 95.27 kB / 1.278 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9166, allocations: 0 / 1.278 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002439/0.9169, allocations: 23.88 kB / 1.278 GB, free: 14.27 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.0009022/0.9178, allocations: 0.7714 MB / 1.279 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.9182, allocations: 103.9 kB / 1.279 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9182, allocations: 0 / 1.279 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.9184, allocations: 59.89 kB / 1.279 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.9188, allocations: 21.95 kB / 1.279 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.9211, allocations: 1.547 MB / 1.281 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.9215, allocations: 0.6963 MB / 1.282 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.505e-05/0.9215, allocations: 19.92 kB / 1.282 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.9216, allocations: 27.42 kB / 1.282 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.9216, allocations: 0 / 1.282 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.9512, allocations: 2.706 MB / 1.284 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/9, allocations: 1.891 kB / 1.284 GB, free: 8.281 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.294191437773407]