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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.847/2.847, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.36 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3213, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00224/0.3235, allocations: 0.7501 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3247, allocations: 0.8977 MB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.3248, allocations: 0 / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.3248, allocations: 3.938 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.46e-05/0.3249, allocations: 11.88 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.3252, allocations: 43.94 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.3253, allocations: 79.83 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.3254, allocations: 29.59 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.3255, allocations: 35.92 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.3256, allocations: 43.81 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.3256, allocations: 12 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.3256, allocations: 8 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.3257, allocations: 19.92 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.3257, allocations: 27.86 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.3259, allocations: 91.16 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3259, allocations: 7.938 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3259, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.3259, allocations: 0 / 1.285 GB, free: 10.38 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.0006774/0.3266, allocations: 322 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3266, allocations: 12.03 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.895e-05/0.3267, allocations: 38.75 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.3267, allocations: 8.891 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3268, allocations: 114.5 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3269, allocations: 8.375 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.3269, allocations: 16.05 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.3272, allocations: 105.6 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3272, allocations: 0 / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3273, allocations: 4 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3273, allocations: 4 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.3276, allocations: 95.89 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/0.3282, allocations: 299.7 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.3289, allocations: 114.6 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.3291, allocations: 56.81 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.3291, allocations: 0 / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.3291, allocations: 38.5 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.3291, allocations: 0 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007121/0.3299, allocations: 185.4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.3299, allocations: 55.41 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.33, allocations: 125.8 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3301, allocations: 25.7 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.3301, allocations: 100 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3301, allocations: 11.84 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.3302, allocations: 29.7 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3304, allocations: 318.8 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.3305, allocations: 43.95 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.3307, allocations: 51.95 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.3311, allocations: 105.2 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3311, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000405/0.3315, allocations: 141.5 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3315, allocations: 4 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3315, allocations: 0 / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3315, allocations: 4 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.3317, allocations: 23.97 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3317, allocations: 3.938 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3318, allocations: 19.97 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3318, allocations: 0 / 1.287 GB, free: 7.746 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.0001148/0.3319, allocations: 121.8 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.332, allocations: 7.953 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004781/0.3324, allocations: 145.9 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.3324, allocations: 4 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3325, allocations: 3.938 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3325, allocations: 0 / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.3327, allocations: 160.7 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3327, allocations: 4 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.3328, allocations: 27.97 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3328, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3328, allocations: 3.984 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3328, allocations: 0 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.3329, allocations: 7.875 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.3333, allocations: 233.2 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.3333, allocations: 7.891 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.3334, allocations: 4 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.3335, allocations: 11.98 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.3336, allocations: 27.91 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.3336, allocations: 0 / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.384e-05/0.3337, allocations: 99.2 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3337, allocations: 3.938 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000233/0.3339, allocations: 19.95 kB / 1.288 GB, free: 6.793 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.0008313/0.3347, allocations: 0.7709 MB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.3352, allocations: 95.91 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3352, allocations: 0 / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.3354, allocations: 71.88 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3358, allocations: 13.91 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.338, allocations: 1.542 MB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.279e-05/0.3381, allocations: 75.33 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.633e-05/0.3382, allocations: 8 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.438e-05/0.3383, allocations: 35.41 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of SimCode: time 4.2e-07/0.3383, allocations: 0 / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.3678, allocations: 3.346 MB / 1.294 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.77, allocations: 6.828 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB " [Timeout remaining time 288] (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/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: 18.369365558959544]