Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_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.006008/0.006009, allocations: 101.9 kB / 15.73 MB, free: 6 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.001283/0.001283, allocations: 195.7 kB / 16.67 MB, free: 5.926 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.89 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.057, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001742/1.059, allocations: 0.6977 MB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008434/1.06, allocations: 0.8343 MB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/1.06, allocations: 5.25 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/1.06, allocations: 4.734 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/1.06, allocations: 4.5 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/1.06, allocations: 26.48 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.515e-05/1.06, allocations: 44.8 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/1.06, allocations: 13.34 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/1.06, allocations: 29.91 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/1.06, allocations: 21.52 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/1.06, allocations: 3.719 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/1.06, allocations: 4.375 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/1.06, allocations: 12.73 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/1.06, allocations: 18.06 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/1.06, allocations: 54.73 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.06, allocations: 0.9688 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.143e-06/1.06, allocations: 3.938 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.07e-06/1.06, allocations: 0 / 1.09 GB, free: 4.32 MB / 0.8575 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.0004026/1.061, allocations: 350 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/1.061, allocations: 10.31 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/1.061, allocations: 7.031 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.576e-05/1.061, allocations: 164 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/1.061, allocations: 14.91 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/1.061, allocations: 2.938 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/1.061, allocations: 76.06 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/1.061, allocations: 0.6094 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/1.061, allocations: 3.984 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.061, allocations: 0.9688 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/1.061, allocations: 48.58 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/1.062, allocations: 293.3 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/1.062, allocations: 65.72 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/1.062, allocations: 33.19 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/1.062, allocations: 0.7031 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/1.062, allocations: 36.41 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/1.062, allocations: 0 / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003873/1.063, allocations: 102.1 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/1.063, allocations: 59.34 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.391e-05/1.063, allocations: 108 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/1.063, allocations: 25.7 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/1.063, allocations: 95.44 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/1.063, allocations: 9.484 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/1.063, allocations: 19.81 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.915e-05/1.063, allocations: 318.7 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/1.063, allocations: 22.64 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.521e-05/1.063, allocations: 22.48 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/1.063, allocations: 58.41 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.063, allocations: 0 / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000237/1.064, allocations: 87.53 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.064, allocations: 5.672 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/1.064, allocations: 0.6875 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/1.064, allocations: 0.625 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/1.064, allocations: 11.8 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/1.064, allocations: 0.5938 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/1.064, allocations: 19.41 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/1.064, allocations: 1.672 kB / 1.092 GB, free: 2.527 MB / 0.8575 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 5.488e-05/1.064, allocations: 115 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/1.064, allocations: 1.562 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/1.064, allocations: 10.28 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.064, allocations: 5.188 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/1.064, allocations: 0 / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.064, allocations: 1.75 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/1.064, allocations: 177.9 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.064, allocations: 4.781 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.708e-05/1.064, allocations: 12.14 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.064, allocations: 0 / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/1.064, allocations: 5.219 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.064, allocations: 1.609 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.064, allocations: 4.859 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/1.064, allocations: 191 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/1.065, allocations: 79.47 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/1.065, allocations: 5.094 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/1.065, allocations: 7.297 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/1.065, allocations: 11.47 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/1.065, allocations: 1.578 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.249e-05/1.065, allocations: 88.27 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.065, allocations: 0 / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002123/1.065, allocations: 10.47 kB / 1.092 GB, free: 1.84 MB / 0.8575 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.0001082/1.065, allocations: 102.9 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000258/1.065, allocations: 60.69 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.065, allocations: 0 / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/1.065, allocations: 30.42 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/1.066, allocations: 3.016 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/1.066, allocations: 144.2 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/1.066, allocations: 0.6857 MB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.148e-05/1.066, allocations: 4.359 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/1.066, allocations: 13.03 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/1.066, allocations: 0 / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of Templates: time 0.003246/1.07, allocations: 0.9085 MB / 1.094 GB, free: 0.7969 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches