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.0008649/0.0008649, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009135/0.0009135, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.891/0.891, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.647/1.647, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.14e-05, allocations: 9.375 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001376/0.001397, allocations: 0.7523 MB / 0.9513 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008589/0.002256, allocations: 0.886 MB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.002302, allocations: 8 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.002334, allocations: 11.86 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.431e-05/0.002409, allocations: 7.875 kB / 0.9521 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.002579, allocations: 39.94 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.788e-05/0.002676, allocations: 87.81 kB / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.002787, allocations: 19.92 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.002877, allocations: 51.89 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.002938, allocations: 35.89 kB / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.002964, allocations: 8 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.002976, allocations: 8 kB / 0.9524 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.002998, allocations: 31.84 kB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.003026, allocations: 23.91 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.003147, allocations: 99.64 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003149, allocations: 0 / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.373e-06/0.003151, allocations: 0 / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003154, allocations: 0 / 0.9525 GB, free: 1.391 MB / 0.9011 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.0004309/0.003585, allocations: 318 kB / 0.9528 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.003622, allocations: 8.031 kB / 0.9528 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.003652, allocations: 38.75 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.003679, allocations: 12.89 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.141e-05/0.003771, allocations: 117.7 kB / 0.953 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.003787, allocations: 8.375 kB / 0.953 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.003799, allocations: 4.375 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.004002, allocations: 110.5 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.004009, allocations: 0 / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.004021, allocations: 7.984 kB / 0.9531 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.004026, allocations: 0 / 0.9531 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.004231, allocations: 95.91 kB / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.004642, allocations: 303.8 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.005002, allocations: 114.6 kB / 0.9536 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.005108, allocations: 56.81 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.005128, allocations: 3.938 kB / 0.9537 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.005146, allocations: 34.56 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.005147, allocations: 0 / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0003989/0.005546, allocations: 189.4 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.005575, allocations: 51.41 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.005643, allocations: 121.8 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.005654, allocations: 25.7 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.005698, allocations: 104 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.005717, allocations: 15.86 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.005753, allocations: 21.7 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.005828, allocations: 326.8 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.625e-05/0.005925, allocations: 43.95 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.006018, allocations: 47.95 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.006201, allocations: 92.78 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006203, allocations: 0 / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002286/0.006432, allocations: 145.9 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.006445, allocations: 8 kB / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.00645, allocations: 4.078 kB / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.006464, allocations: 4 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.006553, allocations: 23.97 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.00656, allocations: 3.984 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.006611, allocations: 15.92 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.006622, allocations: 11.92 kB / 0.9549 GB, free: 14.76 MB / 0.9167 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 6.626e-05/0.006688, allocations: 113.8 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.006706, allocations: 11.95 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.007121, allocations: 146 kB / 0.9552 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.007124, allocations: 7.984 kB / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.007129, allocations: 0 / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.007132, allocations: 0 / 0.9552 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.007263, allocations: 164.5 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.007265, allocations: 0 / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.186e-05/0.007337, allocations: 27.97 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.007339, allocations: 0 / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.007349, allocations: 4 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007351, allocations: 0 / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007352, allocations: 0 / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.007599, allocations: 243.3 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.007612, allocations: 7.938 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.007625, allocations: 8 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-05/0.007691, allocations: 11.98 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.007748, allocations: 19.97 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.007754, allocations: 4 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.007791, allocations: 95.27 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007791, allocations: 0 / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001614/0.007953, allocations: 15.94 kB / 0.9558 GB, free: 13.82 MB / 0.9167 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.0004346/0.008387, allocations: 0.7709 MB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.008625, allocations: 103.9 kB / 0.9566 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.008627, allocations: 0 / 0.9566 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.008733, allocations: 67.88 kB / 0.9567 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.008984, allocations: 8 kB / 0.9567 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.01026, allocations: 1.541 MB / 0.9582 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.778e-05/0.01031, allocations: 75.58 kB / 0.9583 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.376e-05/0.01036, allocations: 8 kB / 0.9583 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.01042, allocations: 32.48 kB / 0.9583 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.01042, allocations: 0 / 0.9583 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.0282, allocations: 3.488 MB / 0.9617 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/6.786, allocations: 10.03 kB / 0.9617 GB, free: 7.734 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.698661879636347]