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.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.001838/0.001838, allocations: 113 kB / 18.94 MB, free: 2.934 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.001612/0.001612, allocations: 209.4 kB / 22.25 MB, free: 5.086 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.471/3.471, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.003651/0.003651, allocations: 67.5 kB / 1.177 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4186, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002391/0.421, allocations: 0.7835 MB / 1.354 GB, free: 7.672 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.4224, allocations: 0.8977 MB / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.4224, allocations: 4 kB / 1.355 GB, free: 6.758 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.741e-05/0.4225, allocations: 11.88 kB / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.301e-05/0.4226, allocations: 7.875 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.4228, allocations: 43.94 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.4229, allocations: 79.83 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.4231, allocations: 20.27 kB / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.4232, allocations: 43.84 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.4233, allocations: 47.83 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.4234, allocations: 8 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.137e-05/0.4234, allocations: 8 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.4234, allocations: 23.91 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.924e-05/0.4235, allocations: 39.78 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.4237, allocations: 87.61 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4237, allocations: 4 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4237, allocations: 0 / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.4237, allocations: 0 / 1.355 GB, free: 6.34 MB / 1.045 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.0008908/0.4246, allocations: 322 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.4247, allocations: 8.031 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.324e-05/0.4247, allocations: 42.73 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.4248, allocations: 12.89 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.425, allocations: 118.4 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.425, allocations: 4.375 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.425, allocations: 16.12 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.4254, allocations: 101.5 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4254, allocations: 4 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4254, allocations: 0 / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4254, allocations: 3.938 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.4258, allocations: 103.9 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.4265, allocations: 303.8 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006995/0.4272, allocations: 126.5 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.4273, allocations: 48.81 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.4274, allocations: 0 / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.4274, allocations: 30.56 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.4274, allocations: 4 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006966/0.4281, allocations: 193.4 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.58e-05/0.4282, allocations: 55.41 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.4283, allocations: 125.8 kB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.4283, allocations: 29.7 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.4284, allocations: 88.09 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.4285, allocations: 31.78 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.4285, allocations: 21.72 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.4287, allocations: 318.8 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.4289, allocations: 43.95 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.429, allocations: 43.95 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.4295, allocations: 104.8 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4295, allocations: 0 / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000443/0.4299, allocations: 137.5 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4299, allocations: 8 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4299, allocations: 4 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.43, allocations: 0 / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.4301, allocations: 27.95 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4301, allocations: 3.938 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.4303, allocations: 11.98 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.4303, allocations: 4 kB / 1.357 GB, free: 3.695 MB / 1.045 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.0001168/0.4304, allocations: 113.8 kB / 1.357 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.4304, allocations: 15.89 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004905/0.4309, allocations: 158.4 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4309, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4309, allocations: 3.938 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4309, allocations: 0 / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.4312, allocations: 176.6 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4312, allocations: 4 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.4313, allocations: 23.97 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4313, allocations: 0 / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4313, allocations: 0 / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4313, allocations: 0 / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4313, allocations: 7.938 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.4318, allocations: 247.4 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.4318, allocations: 3.953 kB / 1.358 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.4319, allocations: 4 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.432, allocations: 15.97 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.4321, allocations: 27.91 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4321, allocations: 0 / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.933e-05/0.4322, allocations: 95.7 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4322, allocations: 4 kB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002442/0.4324, allocations: 16 kB / 1.358 GB, free: 2.723 MB / 1.045 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.000864/0.4333, allocations: 0.767 MB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.4337, allocations: 103.9 kB / 1.359 GB, free: 1.828 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4337, allocations: 4 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.4339, allocations: 59.89 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.4343, allocations: 23.91 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.4365, allocations: 1.518 MB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.4369, allocations: 0.6963 MB / 1.361 GB, free: 15.42 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.737e-05/0.437, allocations: 11.98 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.4371, allocations: 31.42 kB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.4371, allocations: 0 / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.4697, allocations: 2.852 MB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.56, allocations: 3.281 kB / 1.364 GB, free: 12.66 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 18.712428126018494]