Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001655/0.001655, allocations: 104.2 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.001854/0.001854, 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.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 3.746 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.759/2.759, allocations: 476.7 MB / 0.7611 GB, free: 15.81 MB / 0.6075 GB " [Timeout remaining time 177] 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.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003001/0.003001, allocations: 63.91 kB / 1.104 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.041, 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.LessThreshold): time 0.001823/1.043, allocations: 0.7162 MB / 1.269 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008316/1.044, allocations: 0.8341 MB / 1.27 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/1.044, allocations: 4.719 kB / 1.27 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/1.044, allocations: 4.969 kB / 1.27 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/1.044, allocations: 5.078 kB / 1.27 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/1.044, allocations: 20.78 kB / 1.27 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.846e-05/1.044, allocations: 49.2 kB / 1.27 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/1.044, allocations: 18.41 kB / 1.27 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/1.044, allocations: 18.78 kB / 1.27 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.189e-05/1.044, allocations: 28.56 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/1.044, allocations: 4.312 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/1.044, allocations: 3.75 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/1.045, allocations: 8.109 kB / 1.27 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/1.045, allocations: 26.48 kB / 1.27 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/1.045, allocations: 45.28 kB / 1.27 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.045, allocations: 0 / 1.27 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.933e-06/1.045, allocations: 0.7188 kB / 1.27 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.521e-06/1.045, allocations: 0 / 1.27 GB, free: 6.543 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004499/1.045, allocations: 367.4 kB / 1.271 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.045, allocations: 10.44 kB / 1.271 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/1.045, allocations: 32.92 kB / 1.271 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/1.045, allocations: 6.609 kB / 1.271 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/1.045, allocations: 173.1 kB / 1.271 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/1.045, allocations: 1.844 kB / 1.271 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/1.045, allocations: 6.75 kB / 1.271 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/1.046, allocations: 68.61 kB / 1.271 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/1.046, allocations: 4.5 kB / 1.271 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/1.046, allocations: 0 / 1.271 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/1.046, allocations: 0.9688 kB / 1.271 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/1.046, allocations: 56.34 kB / 1.271 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/1.046, allocations: 293.3 kB / 1.271 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/1.046, allocations: 68.95 kB / 1.272 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/1.046, allocations: 31.89 kB / 1.272 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/1.046, allocations: 1.5 kB / 1.272 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.222e-05/1.046, allocations: 35.28 kB / 1.272 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/1.046, allocations: 0.6562 kB / 1.272 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003999/1.047, allocations: 110.3 kB / 1.272 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/1.047, allocations: 52.16 kB / 1.272 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/1.047, allocations: 106.4 kB / 1.272 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/1.047, allocations: 26.36 kB / 1.272 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/1.047, allocations: 90.95 kB / 1.272 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/1.047, allocations: 10.75 kB / 1.272 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/1.047, allocations: 19.55 kB / 1.272 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.599e-05/1.047, allocations: 322.3 kB / 1.272 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/1.047, allocations: 30.2 kB / 1.272 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/1.047, allocations: 23.66 kB / 1.272 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/1.047, allocations: 48.88 kB / 1.272 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.047, allocations: 0.7188 kB / 1.272 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002284/1.048, allocations: 88 kB / 1.272 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.048, allocations: 4.688 kB / 1.272 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.048, allocations: 0.875 kB / 1.272 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.048, allocations: 1.688 kB / 1.272 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.048, allocations: 19.28 kB / 1.273 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.048, allocations: 0 / 1.273 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/1.048, allocations: 9.016 kB / 1.273 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/1.048, allocations: 5.844 kB / 1.273 GB, free: 4.688 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: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.738e-05/1.048, allocations: 112.6 kB / 1.273 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/1.048, allocations: 2.703 kB / 1.273 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/1.048, allocations: 9.531 kB / 1.273 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.048, allocations: 1.031 kB / 1.273 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.048, allocations: 0.5156 kB / 1.273 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.048, allocations: 1.406 kB / 1.273 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/1.048, allocations: 182.2 kB / 1.273 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/1.048, allocations: 4 kB / 1.273 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/1.048, allocations: 15.83 kB / 1.273 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/1.048, allocations: 4.688 kB / 1.273 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/1.048, allocations: 1.547 kB / 1.273 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.048, allocations: 4.812 kB / 1.273 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/1.048, allocations: 0 / 1.273 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/1.049, allocations: 184.9 kB / 1.273 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/1.049, allocations: 86.61 kB / 1.273 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/1.049, allocations: 1.406 kB / 1.273 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/1.049, allocations: 15.78 kB / 1.273 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/1.049, allocations: 11.7 kB / 1.273 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/1.049, allocations: 2.422 kB / 1.273 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.438e-05/1.049, allocations: 90.95 kB / 1.273 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.049, allocations: 0.8125 kB / 1.273 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002149/1.049, allocations: 5.969 kB / 1.273 GB, free: 3.988 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004972/1.05, allocations: 0.7188 MB / 1.274 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003065/1.05, allocations: 52.02 kB / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.05, allocations: 0 / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/1.05, allocations: 29.31 kB / 1.274 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/1.05, allocations: 16.12 kB / 1.274 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/1.052, allocations: 1.322 MB / 1.275 GB, free: 18.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/1.052, allocations: 0.6812 MB / 1.276 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.811e-05/1.052, allocations: 8.844 kB / 1.276 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/1.052, allocations: 20.88 kB / 1.276 GB, free: 17.36 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/1.052, allocations: 0.9375 kB / 1.276 GB, free: 17.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/1.079, allocations: 1.854 MB / 1.278 GB, free: 16.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/9.226, allocations: 15.53 kB / 1.278 GB, free: 16.96 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.40915816416964]