Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001854/0.001854, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001512/0.001512, allocations: 216.9 kB / 22.25 MB, free: 5.258 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.789 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.313/3.313, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.002148/0.002148, allocations: 66.19 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4112, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.003247/0.4145, allocations: 0.764 MB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.4166, allocations: 0.8899 MB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.4166, allocations: 4 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.851e-05/0.4167, allocations: 3.938 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.4168, allocations: 7.875 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.4171, allocations: 43.89 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.4173, allocations: 83.88 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.4174, allocations: 20.27 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.4176, allocations: 35.84 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.4177, allocations: 39.83 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.4177, allocations: 15.94 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.637e-05/0.4178, allocations: 8 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.4178, allocations: 27.91 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.4179, allocations: 31.84 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.4181, allocations: 83.67 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4181, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.916e-06/0.4181, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.4181, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 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.001012/0.4191, allocations: 321.9 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/0.4192, allocations: 16.03 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.572e-05/0.4193, allocations: 38.73 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.4193, allocations: 8.891 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.4196, allocations: 122.4 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.4196, allocations: 384 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.4196, allocations: 12.12 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.4202, allocations: 101.6 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4202, allocations: 0 / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.4202, allocations: 0 / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.4202, allocations: 11.98 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006802/0.4209, allocations: 99.89 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008885/0.4218, allocations: 291.8 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.4228, allocations: 118.5 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.4232, allocations: 56.81 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.4232, allocations: 3.938 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.4233, allocations: 38.55 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.4233, allocations: 0 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.001308/0.4246, allocations: 181.5 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.4247, allocations: 51.41 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.4248, allocations: 125.8 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.4249, allocations: 29.7 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.425, allocations: 88.09 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.425, allocations: 31.77 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.4251, allocations: 25.7 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.4253, allocations: 318.8 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.4256, allocations: 43.95 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.4259, allocations: 52.2 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006368/0.4266, allocations: 104.9 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4266, allocations: 0 / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008359/0.4274, allocations: 141.5 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.4274, allocations: 4 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4274, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4275, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.4278, allocations: 23.97 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.4278, allocations: 7.875 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.428, allocations: 11.98 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.428, allocations: 4 kB / 1.368 GB, free: 9.379 MB / 1.061 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,min1.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.0001728/0.4282, allocations: 121.8 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.4282, allocations: 7.938 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008109/0.429, allocations: 153.9 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.429, allocations: 0 / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.429, allocations: 3.938 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.429, allocations: 0 / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.4294, allocations: 164.7 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4294, allocations: 0 / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.4296, allocations: 27.91 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4297, allocations: 0 / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.4297, allocations: 4 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4297, allocations: 0 / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.4297, allocations: 3.938 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/0.4305, allocations: 239.4 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.4306, allocations: 7.953 kB / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.4306, allocations: 0 / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.4308, allocations: 23.97 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.431, allocations: 19.86 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.431, allocations: 11.98 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.781e-05/0.4311, allocations: 91.27 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4311, allocations: 3.938 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004447/0.4315, allocations: 12 kB / 1.369 GB, free: 8.422 MB / 1.061 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 (min1.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.00149/0.433, allocations: 0.767 MB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007424/0.4338, allocations: 107.8 kB / 1.369 GB, free: 7.523 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.4338, allocations: 4 kB / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.4341, allocations: 56.42 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.4347, allocations: 11.94 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.4384, allocations: 1.533 MB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.4385, allocations: 75.33 kB / 1.371 GB, free: 5.746 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.4386, allocations: 15.98 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.4387, allocations: 31.36 kB / 1.371 GB, free: 5.699 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.4387, allocations: 0 / 1.371 GB, free: 5.699 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/0.4811, allocations: 3.358 MB / 1.374 GB, free: 2.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.86, allocations: 14.11 kB / 1.374 GB, free: 2.469 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.785145251080394]