Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001532/0.001532, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001583/0.001583, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.838/2.838, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 1.104 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9939/0.9959, allocations: 168.7 MB / 1.269 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002152/0.998, allocations: 0.7822 MB / 1.27 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009501/0.999, allocations: 0.8669 MB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.999, allocations: 1.531 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.999, allocations: 12.95 kB / 1.27 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.657e-05/0.9991, allocations: 11.3 kB / 1.27 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.9993, allocations: 41.56 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.9994, allocations: 88 kB / 1.271 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.9995, allocations: 18.55 kB / 1.271 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.837e-05/0.9996, allocations: 39.75 kB / 1.271 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.9997, allocations: 49.25 kB / 1.271 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.9997, allocations: 8.312 kB / 1.271 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.848e-05/0.9997, allocations: 7.75 kB / 1.271 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.9998, allocations: 26.72 kB / 1.271 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.9998, allocations: 32.08 kB / 1.271 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/1, allocations: 92.73 kB / 1.271 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1, allocations: 0 / 1.271 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/1, allocations: 0 / 1.271 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.621e-06/1, allocations: 1.734 kB / 1.271 GB, free: 6.379 MB / 0.9981 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.0006141/1.001, allocations: 393.8 kB / 1.271 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.001, allocations: 14.39 kB / 1.271 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/1.001, allocations: 41.03 kB / 1.271 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/1.001, allocations: 9.172 kB / 1.271 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/1.001, allocations: 179 kB / 1.271 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/1.001, allocations: 7.5 kB / 1.271 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/1.001, allocations: 7.531 kB / 1.271 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/1.001, allocations: 101.6 kB / 1.271 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.001, allocations: 0 / 1.271 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/1.001, allocations: 4.75 kB / 1.271 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/1.001, allocations: 5.562 kB / 1.271 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/1.002, allocations: 97.92 kB / 1.272 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/1.002, allocations: 349.5 kB / 1.272 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/1.003, allocations: 120.1 kB / 1.272 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/1.003, allocations: 53.27 kB / 1.272 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/1.003, allocations: 1.953 kB / 1.272 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/1.003, allocations: 31.81 kB / 1.272 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/1.003, allocations: 0 / 1.272 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0007145/1.004, allocations: 194.8 kB / 1.272 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/1.004, allocations: 57.77 kB / 1.272 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/1.004, allocations: 123 kB / 1.272 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/1.004, allocations: 26.55 kB / 1.273 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/1.004, allocations: 101.3 kB / 1.273 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/1.004, allocations: 16.03 kB / 1.273 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/1.004, allocations: 27.8 kB / 1.273 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.718e-05/1.004, allocations: 314.3 kB / 1.273 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/1.004, allocations: 45.05 kB / 1.273 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/1.004, allocations: 48.8 kB / 1.273 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/1.005, allocations: 96.09 kB / 1.273 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.005, allocations: 0 / 1.273 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003845/1.005, allocations: 145.7 kB / 1.273 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.005, allocations: 5.344 kB / 1.273 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/1.005, allocations: 4 kB / 1.273 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.005, allocations: 4.938 kB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/1.005, allocations: 22.06 kB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.005, allocations: 4.75 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/1.005, allocations: 20.83 kB / 1.273 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/1.005, allocations: 4.375 kB / 1.273 GB, free: 4.367 MB / 0.9981 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 5.85e-05/1.005, allocations: 113.8 kB / 1.273 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/1.006, allocations: 11.2 kB / 1.273 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/1.006, allocations: 150.5 kB / 1.274 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/1.006, allocations: 1.094 kB / 1.274 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.006, allocations: 3.938 kB / 1.274 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/1.006, allocations: 4.969 kB / 1.274 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/1.006, allocations: 197.4 kB / 1.274 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.006, allocations: 4 kB / 1.274 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/1.006, allocations: 25.05 kB / 1.274 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.006, allocations: 1 kB / 1.274 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/1.006, allocations: 6.359 kB / 1.274 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.006, allocations: 0 / 1.274 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.006, allocations: 4.906 kB / 1.274 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/1.007, allocations: 239.4 kB / 1.274 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/1.007, allocations: 83.16 kB / 1.274 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/1.007, allocations: 1.609 kB / 1.274 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/1.007, allocations: 12.75 kB / 1.274 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/1.007, allocations: 27.97 kB / 1.274 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/1.007, allocations: 7.391 kB / 1.274 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.687e-05/1.007, allocations: 93.83 kB / 1.274 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.007, allocations: 4 kB / 1.274 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002369/1.007, allocations: 16.22 kB / 1.274 GB, free: 3.578 MB / 0.9981 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.0006072/1.008, allocations: 0.7683 MB / 1.275 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004025/1.008, allocations: 108.9 kB / 1.275 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.008, allocations: 0.6875 kB / 1.275 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/1.008, allocations: 59.67 kB / 1.275 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/1.009, allocations: 17.36 kB / 1.275 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/1.011, allocations: 1.541 MB / 1.277 GB, free: 17.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/1.011, allocations: 0.6926 MB / 1.277 GB, free: 16.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.401e-05/1.011, allocations: 13.02 kB / 1.277 GB, free: 16.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/1.011, allocations: 31.17 kB / 1.277 GB, free: 16.84 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/1.011, allocations: 0.7188 kB / 1.277 GB, free: 16.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/1.037, allocations: 2.718 MB / 1.28 GB, free: 16.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/9.26, allocations: 10.66 kB / 1.28 GB, free: 16.37 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.482128497213125]