Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 197 kB / 16.53 MB, free: 6.664 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.521/1.521, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.076/3.076, allocations: 472.7 MB / 0.7452 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 64.08 kB / 0.9121 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4758, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.003224/0.4791, allocations: 0.6978 MB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.4806, allocations: 0.8372 MB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.4807, allocations: 0 / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.662e-05/0.4808, allocations: 3.938 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.494e-05/0.4809, allocations: 7.875 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.4811, allocations: 27.97 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.4813, allocations: 39.92 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.4815, allocations: 19.97 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.4816, allocations: 19.92 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.4817, allocations: 19.92 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.4818, allocations: 4 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.483e-05/0.4818, allocations: 4 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.4819, allocations: 15.97 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.022e-05/0.482, allocations: 31.8 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.4822, allocations: 43.88 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.4822, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4822, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.4822, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 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.001023/0.4832, allocations: 353.4 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.471e-05/0.4833, allocations: 8.031 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.092e-05/0.4834, allocations: 8.844 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.4837, allocations: 168.4 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.4838, allocations: 12.38 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.4838, allocations: 4.312 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.4842, allocations: 73.72 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4842, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.4843, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4843, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.4846, allocations: 55.89 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.4857, allocations: 292.7 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.486, allocations: 66.53 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.4862, allocations: 32.91 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.4863, allocations: 4 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/0.4863, allocations: 42.5 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.244e-06/0.4863, allocations: 0 / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0006553/0.487, allocations: 105.6 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.4871, allocations: 51.41 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.4873, allocations: 105.8 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.4873, allocations: 29.7 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.4875, allocations: 92.05 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.4876, allocations: 11.95 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.4876, allocations: 17.72 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003032/0.4879, allocations: 318.8 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.4881, allocations: 23.98 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.4882, allocations: 31.91 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.4885, allocations: 52.81 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4885, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003292/0.4889, allocations: 81.56 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.4889, allocations: 5.562 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4889, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.489, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.4891, allocations: 11.98 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.4892, allocations: 11.98 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.4893, allocations: 8 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.4893, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 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,intLesEquThr.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 0.0001738/0.4895, allocations: 123.2 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.4895, allocations: 3.938 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.4896, allocations: 7.906 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.4896, allocations: 4 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4896, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4896, allocations: 4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.49, allocations: 177.5 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.49, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.4901, allocations: 11.98 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4901, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.4901, allocations: 8 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4902, allocations: 3.938 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4902, allocations: 0 / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.4906, allocations: 191.6 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.4907, allocations: 77.11 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4907, allocations: 4.047 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.4908, allocations: 11.97 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/0.4909, allocations: 11.98 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.491, allocations: 0 / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.905e-05/0.491, allocations: 87.27 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.491, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003472/0.4914, allocations: 12 kB / 1.073 GB, free: 5.555 MB / 0.8262 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 (intLesEquThr.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.0002245/0.4916, allocations: 103.7 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.492, allocations: 55.94 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.492, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.4922, allocations: 31.92 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005292/0.4927, allocations: 15.98 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.4933, allocations: 133.4 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.4937, allocations: 0.6807 MB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.894e-05/0.4938, allocations: 11.98 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.4939, allocations: 11.44 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.4939, allocations: 0 / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of Templates: time 0.004991/0.4989, allocations: 0.89 MB / 1.075 GB, free: 3.574 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches