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.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.0008815/0.0008815, 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.0009614/0.0009614, allocations: 165.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.8945/0.8945, allocations: 177.2 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.615/1.615, allocations: 359 MB / 0.6037 GB, free: 11.09 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.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 2.695e-06/2.695e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.306e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001555/0.001578, allocations: 0.7523 MB / 0.9512 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.00246, allocations: 0.8938 MB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.002502, allocations: 0 / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.002535, allocations: 3.938 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.877e-05/0.002614, allocations: 11.86 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.002796, allocations: 43.89 kB / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.002905, allocations: 87.75 kB / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.003025, allocations: 23.92 kB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/0.00312, allocations: 47.89 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.00319, allocations: 39.94 kB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.003224, allocations: 8 kB / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.003237, allocations: 8 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.003265, allocations: 23.91 kB / 0.9524 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.003298, allocations: 27.92 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.003426, allocations: 95.69 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.003428, allocations: 0 / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.412e-06/0.003429, allocations: 3.938 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.003434, allocations: 0 / 0.9525 GB, free: 1.402 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.0005402/0.003975, allocations: 319.8 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.004024, allocations: 16.02 kB / 0.9528 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.004066, allocations: 30.75 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.004097, allocations: 8.891 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.004217, allocations: 121.7 kB / 0.953 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.004234, allocations: 384 / 0.953 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.004249, allocations: 8.375 kB / 0.953 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.00447, allocations: 114.5 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.004479, allocations: 0 / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.004492, allocations: 11.92 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.004499, allocations: 4 kB / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.004711, allocations: 99.84 kB / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.005131, allocations: 291.8 kB / 0.9535 GB, free: 296 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.005496, allocations: 122.5 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.005594, allocations: 60.8 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.005613, allocations: 0 / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.00563, allocations: 30.56 kB / 0.9537 GB, free: 60 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 7.41e-07/0.005631, allocations: 0 / 0.9537 GB, free: 60 kB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0003874/0.006019, allocations: 185.5 kB / 0.9539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.006046, allocations: 51.41 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.006115, allocations: 125.8 kB / 0.9541 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.006126, allocations: 25.7 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.006167, allocations: 100 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.006187, allocations: 19.86 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.006222, allocations: 25.7 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.006301, allocations: 318.8 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.355e-05/0.006394, allocations: 47.95 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.92e-05/0.006483, allocations: 51.92 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.006664, allocations: 97.25 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.006666, allocations: 0 / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002385/0.006904, allocations: 145.5 kB / 0.9549 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.006917, allocations: 4 kB / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.006921, allocations: 0 / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.006934, allocations: 0 / 0.9549 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.007016, allocations: 27.97 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.007021, allocations: 0 / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.007073, allocations: 11.98 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.007082, allocations: 11.88 kB / 0.9549 GB, free: 14.77 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,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 7.601e-05/0.007158, allocations: 121.8 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.007175, allocations: 3.953 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.007445, allocations: 150 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007447, allocations: 0 / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.007452, allocations: 0 / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007455, allocations: 4 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.007597, allocations: 172.6 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.007598, allocations: 0 / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.007668, allocations: 23.97 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.00767, allocations: 0 / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.007679, allocations: 4 kB / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.007681, allocations: 3.938 kB / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007682, allocations: 0 / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.007933, allocations: 235.3 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.007945, allocations: 11.89 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.007958, allocations: 4 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/0.008023, allocations: 15.97 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.008084, allocations: 19.97 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.008091, allocations: 8 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.008131, allocations: 91.7 kB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008131, allocations: 0 / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001606/0.008291, allocations: 19.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 (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.0004678/0.008759, allocations: 0.7702 MB / 0.9565 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.008999, allocations: 107.8 kB / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009001, allocations: 4 kB / 0.9566 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.009105, allocations: 55.95 kB / 0.9567 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.009322, allocations: 7.984 kB / 0.9567 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.01066, allocations: 1.549 MB / 0.9582 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.203e-05/0.01071, allocations: 75.58 kB / 0.9583 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.356e-05/0.01075, allocations: 12 kB / 0.9583 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.01082, allocations: 32.42 kB / 0.9583 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.01082, allocations: 0 / 0.9583 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.02548, allocations: 3.489 MB / 0.9617 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.658/6.683, allocations: 3.938 kB / 0.9617 GB, free: 7.738 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.593579702079296]