Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001804/0.001804, allocations: 108.6 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.002021/0.002021, 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.497/1.497, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.293/3.293, allocations: 497.2 MB / 0.7811 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.7 kB / 1.134 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 173.9 MB / 1.304 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002672/0.3724, allocations: 0.7757 MB / 1.305 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3738, allocations: 0.8662 MB / 1.306 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.3739, allocations: 0 / 1.306 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.549e-05/0.374, allocations: 11.86 kB / 1.306 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.3741, allocations: 7.875 kB / 1.306 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3743, allocations: 43.94 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3745, allocations: 91.77 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.3747, allocations: 19.98 kB / 1.306 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.3748, allocations: 35.91 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3749, allocations: 51.75 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.375, allocations: 8 kB / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.205e-05/0.375, allocations: 8 kB / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.375, allocations: 19.97 kB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.3751, allocations: 35.8 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.3753, allocations: 91.88 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3753, allocations: 0 / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3753, allocations: 0 / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.3753, allocations: 7.938 kB / 1.306 GB, free: 15.62 MB / 1.014 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.0008341/0.3761, allocations: 395.1 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3762, allocations: 8.625 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.736e-05/0.3763, allocations: 34.75 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.3763, allocations: 16.84 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3765, allocations: 176.3 kB / 1.307 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3766, allocations: 384 / 1.307 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3766, allocations: 12.12 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.3769, allocations: 109.6 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.377, allocations: 0 / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.377, allocations: 3.938 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.377, allocations: 4 kB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.3773, allocations: 95.91 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.378, allocations: 348.6 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.3786, allocations: 118.5 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.3788, allocations: 56.81 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3788, allocations: 3.938 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3788, allocations: 30.56 kB / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3788, allocations: 0 / 1.307 GB, free: 14.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0006702/0.3795, allocations: 193.5 kB / 1.308 GB, free: 13.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.3795, allocations: 51.41 kB / 1.308 GB, free: 13.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3797, allocations: 137.7 kB / 1.308 GB, free: 13.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3797, allocations: 25.7 kB / 1.308 GB, free: 13.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.3798, allocations: 96.03 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.3798, allocations: 23.83 kB / 1.308 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.3799, allocations: 21.72 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.38, allocations: 322.8 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.3802, allocations: 43.95 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.3804, allocations: 43.95 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.3807, allocations: 96.77 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.3807, allocations: 8 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004057/0.3811, allocations: 133.5 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3812, allocations: 8 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3812, allocations: 0 / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3812, allocations: 0 / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.3814, allocations: 27.97 kB / 1.309 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3814, allocations: 11.92 kB / 1.309 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.3815, allocations: 11.98 kB / 1.309 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3815, allocations: 0 / 1.309 GB, free: 12.77 MB / 1.014 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.0001116/0.3816, allocations: 117.8 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.3816, allocations: 7.953 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.3821, allocations: 153.9 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3821, allocations: 4 kB / 1.309 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3821, allocations: 3.938 kB / 1.309 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3821, allocations: 0 / 1.309 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.3823, allocations: 197.6 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3823, allocations: 4 kB / 1.309 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.3825, allocations: 27.97 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3825, allocations: 0 / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3825, allocations: 4 kB / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3825, allocations: 0 / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3825, allocations: 7.922 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.383, allocations: 231.4 kB / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.383, allocations: 89 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3831, allocations: 8 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3832, allocations: 19.97 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.3833, allocations: 27.86 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3833, allocations: 3.984 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.931e-05/0.3834, allocations: 99.2 kB / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3834, allocations: 0 / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002351/0.3836, allocations: 16 kB / 1.31 GB, free: 11.66 MB / 1.014 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.0008762/0.3845, allocations: 0.7677 MB / 1.31 GB, free: 10.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.3849, allocations: 108 kB / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3849, allocations: 0 / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.3851, allocations: 63.94 kB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.3855, allocations: 17.91 kB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.3877, allocations: 1.529 MB / 1.312 GB, free: 9.078 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3881, allocations: 0.6896 MB / 1.313 GB, free: 8.363 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.821e-05/0.3881, allocations: 12 kB / 1.313 GB, free: 8.352 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.855e-05/0.3882, allocations: 31.41 kB / 1.313 GB, free: 8.32 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3882, allocations: 0 / 1.313 GB, free: 8.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.4138, allocations: 2.713 MB / 1.315 GB, free: 5.707 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.645, allocations: 3.938 kB / 1.315 GB, free: 5.703 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.798085320275277]