Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008567/0.0008568, allocations: 99.19 kB / 16.02 MB, free: 76 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.001148/0.001148, allocations: 183.4 kB / 16.92 MB, free: 6.895 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.455/1.455, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.8/2.8, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003999, allocations: 12.19 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6787/0.6791, allocations: 153.8 MB / 1.024 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0009471/0.6801, allocations: 437.3 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.6812, allocations: 0.8351 MB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.6812, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.6813, allocations: 3.938 kB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.6814, allocations: 0 / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.6815, allocations: 27.92 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.681e-05/0.6816, allocations: 43.91 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.6818, allocations: 11.98 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.773e-05/0.6818, allocations: 19.92 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.6819, allocations: 19.86 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.682, allocations: 4 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.682, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.682, allocations: 15.97 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.682, allocations: 41.58 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.575e-05/0.6821, allocations: 27.92 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6821, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6821, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6821, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.7794 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.0005457/0.6827, allocations: 365.4 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.6827, allocations: 8.031 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.6828, allocations: 4.844 kB / 1.026 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.6829, allocations: 172.3 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.683, allocations: 4.375 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.683, allocations: 384 / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.6832, allocations: 81.72 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.6832, allocations: 0 / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.6832, allocations: 4 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.6833, allocations: 0 / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.6835, allocations: 63.88 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.684, allocations: 288.8 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.6842, allocations: 70.52 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.6843, allocations: 36.88 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.6843, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.6844, allocations: 34.56 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.6844, allocations: 3.984 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004517/0.6848, allocations: 125.5 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.6849, allocations: 59.33 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.685, allocations: 105.9 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.685, allocations: 25.7 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.6851, allocations: 96.06 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.6851, allocations: 19.91 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.6851, allocations: 9.719 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6852, allocations: 318.8 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.6854, allocations: 31.98 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.6855, allocations: 31.97 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.6857, allocations: 60.81 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6857, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002638/0.686, allocations: 97.5 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.686, allocations: 8 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.686, allocations: 0 / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.686, allocations: 0 / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.6861, allocations: 19.97 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.6862, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.468e-05/0.6862, allocations: 16 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.6863, allocations: 4 kB / 1.027 GB, free: 12.13 MB / 0.7794 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.0001031/0.6864, allocations: 118.3 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.6864, allocations: 4 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.6864, allocations: 3.906 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.6864, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6865, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6865, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.6867, allocations: 189.5 kB / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6867, allocations: 0 / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.004e-05/0.6868, allocations: 15.98 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.6868, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.6868, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6868, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6868, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.6871, allocations: 199.4 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.6872, allocations: 77.11 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.6872, allocations: 3.938 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.6873, allocations: 11.98 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.6874, allocations: 11.98 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.6874, allocations: 4 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.673e-05/0.6874, allocations: 95.2 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6874, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002199/0.6877, allocations: 7.906 kB / 1.028 GB, free: 11.31 MB / 0.7794 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.0001286/0.6878, allocations: 103.6 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.6881, allocations: 79.86 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6881, allocations: 0 / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.6882, allocations: 31.98 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.6885, allocations: 5.703 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.6889, allocations: 170.4 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.6891, allocations: 0.6809 MB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.6892, allocations: 11.42 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6892, allocations: 0 / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.002223/0.6914, allocations: 0.8096 MB / 1.03 GB, free: 9.363 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches