Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 106.3 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.474/2.474, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 71.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6837/0.6851, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001843/0.6869, allocations: 0.6992 MB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009387/0.6879, allocations: 0.8312 MB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.688, allocations: 4 kB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.688, allocations: 3.938 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.6881, allocations: 3.938 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.6883, allocations: 23.91 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.298e-05/0.6884, allocations: 43.92 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.6885, allocations: 19.97 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.878e-05/0.6886, allocations: 15.92 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.257e-05/0.6886, allocations: 27.92 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.6886, allocations: 4 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.6887, allocations: 4 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.6887, allocations: 19.86 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.6887, allocations: 23.91 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.6889, allocations: 43.81 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6889, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6889, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.6889, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 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.0005143/0.6894, allocations: 357.3 kB / 1.211 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.6895, allocations: 8.031 kB / 1.211 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.6895, allocations: 16.83 kB / 1.211 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.6896, allocations: 176.2 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.6897, allocations: 384 / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.6897, allocations: 8.375 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.6899, allocations: 65.59 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.6899, allocations: 0 / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.6899, allocations: 3.984 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6899, allocations: 8 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.6902, allocations: 47.94 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.6906, allocations: 292.7 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.6908, allocations: 62.53 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.6909, allocations: 36.92 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.691, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.691, allocations: 30.56 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.691, allocations: 0 / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003935/0.6914, allocations: 109.5 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.6914, allocations: 51.41 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.6915, allocations: 121.8 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.6915, allocations: 25.7 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.6916, allocations: 88.05 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.6916, allocations: 11.92 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.6916, allocations: 21.7 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.6917, allocations: 314.8 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.6919, allocations: 23.97 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-05/0.692, allocations: 23.98 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.6921, allocations: 56.81 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6921, allocations: 0 / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002303/0.6924, allocations: 85.48 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.6924, allocations: 8 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.6924, allocations: 0 / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6924, allocations: 4 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.6926, allocations: 11.98 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.6926, allocations: 0 / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.507e-05/0.6926, allocations: 7.984 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.6927, allocations: 11.94 kB / 1.212 GB, free: 9.707 MB / 0.9356 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 7.537e-05/0.6927, allocations: 109.8 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.6928, allocations: 4 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.6928, allocations: 7.906 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6928, allocations: 4 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6928, allocations: 3.984 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.6928, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.693, allocations: 177.6 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.693, allocations: 336 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-05/0.6931, allocations: 15.92 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.6931, allocations: 0 / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.6931, allocations: 3.984 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6931, allocations: 4 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6931, allocations: 4 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.6934, allocations: 195.3 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.6935, allocations: 77.11 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.6935, allocations: 3.938 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.6936, allocations: 7.984 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.6937, allocations: 11.98 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.6937, allocations: 4 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.6937, allocations: 87.59 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.6937, allocations: 0 / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002189/0.694, allocations: 11.94 kB / 1.213 GB, free: 8.883 MB / 0.9356 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.0001129/0.6941, allocations: 103.2 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.6943, allocations: 55.95 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6944, allocations: 0 / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.6945, allocations: 31.97 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.6948, allocations: 4 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.6951, allocations: 181.3 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.6953, allocations: 0.6807 MB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.6954, allocations: 7.438 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.6954, allocations: 0 / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of Templates: time 0.002067/0.6975, allocations: 0.8142 MB / 1.215 GB, free: 6.953 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches