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.001589/0.001589, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001676/0.001676, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.462/1.462, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 482.4 MB / 0.755 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 68.2 kB / 0.924 GB, free: 29.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3234, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002026/0.3255, allocations: 0.7744 MB / 1.083 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3265, allocations: 0.8351 MB / 1.084 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.3266, allocations: 0 / 1.084 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.3266, allocations: 4 kB / 1.084 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.3267, allocations: 3.938 kB / 1.084 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.3268, allocations: 23.97 kB / 1.084 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.762e-05/0.3269, allocations: 47.86 kB / 1.084 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.327, allocations: 11.98 kB / 1.084 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.3271, allocations: 19.92 kB / 1.084 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.3272, allocations: 27.91 kB / 1.084 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3272, allocations: 4 kB / 1.084 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.3272, allocations: 8 kB / 1.084 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.3273, allocations: 7.984 kB / 1.084 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.3273, allocations: 23.86 kB / 1.084 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.088e-05/0.3274, allocations: 27.94 kB / 1.084 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3274, allocations: 0 / 1.084 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3274, allocations: 0 / 1.084 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5e-06/0.3274, allocations: 0 / 1.084 GB, free: 11.78 MB / 0.8419 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.0005492/0.3279, allocations: 363.7 kB / 1.085 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.328, allocations: 12.03 kB / 1.085 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.328, allocations: 16.72 kB / 1.085 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3282, allocations: 164.4 kB / 1.085 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3282, allocations: 384 / 1.085 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.3282, allocations: 8.375 kB / 1.085 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3284, allocations: 65.78 kB / 1.085 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3284, allocations: 0 / 1.085 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3285, allocations: 0 / 1.085 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3285, allocations: 4 kB / 1.085 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.3287, allocations: 51.94 kB / 1.085 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.3291, allocations: 296.6 kB / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.3294, allocations: 62.53 kB / 1.085 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3295, allocations: 32.92 kB / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3295, allocations: 0 / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3295, allocations: 34.56 kB / 1.085 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3295, allocations: 0 / 1.085 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.000415/0.33, allocations: 109.5 kB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.33, allocations: 55.41 kB / 1.085 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3301, allocations: 117.8 kB / 1.086 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3301, allocations: 29.64 kB / 1.086 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.3302, allocations: 84.14 kB / 1.086 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3302, allocations: 7.906 kB / 1.086 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.3303, allocations: 21.7 kB / 1.086 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3304, allocations: 318.8 kB / 1.086 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3305, allocations: 23.97 kB / 1.086 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.77e-05/0.3306, allocations: 23.98 kB / 1.086 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.3308, allocations: 61.02 kB / 1.086 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3308, allocations: 0 / 1.086 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000237/0.3311, allocations: 85.55 kB / 1.086 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3311, allocations: 8 kB / 1.086 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3311, allocations: 4 kB / 1.086 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.3312, allocations: 4 kB / 1.086 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3313, allocations: 11.98 kB / 1.086 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3313, allocations: 0 / 1.086 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.3314, allocations: 7.984 kB / 1.086 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.3314, allocations: 0 / 1.086 GB, free: 9.516 MB / 0.8419 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 8.966e-05/0.3315, allocations: 117.8 kB / 1.086 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.3315, allocations: 0 / 1.086 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.3315, allocations: 11.91 kB / 1.086 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3315, allocations: 7.938 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3316, allocations: 3.984 kB / 1.086 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.3316, allocations: 0 / 1.086 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.3318, allocations: 177.5 kB / 1.087 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3318, allocations: 3.938 kB / 1.087 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.924e-05/0.3319, allocations: 11.98 kB / 1.087 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3319, allocations: 0 / 1.087 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3319, allocations: 3.984 kB / 1.087 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3319, allocations: 0 / 1.087 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3319, allocations: 0 / 1.087 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.3322, allocations: 187.3 kB / 1.087 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.3323, allocations: 81.11 kB / 1.087 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3323, allocations: 4 kB / 1.087 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3324, allocations: 11.92 kB / 1.087 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.3325, allocations: 11.98 kB / 1.087 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.3325, allocations: 0 / 1.087 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.3325, allocations: 91.22 kB / 1.087 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3325, allocations: 0 / 1.087 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002164/0.3328, allocations: 8 kB / 1.087 GB, free: 8.699 MB / 0.8419 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.0001261/0.3329, allocations: 107.2 kB / 1.087 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.3331, allocations: 51.95 kB / 1.087 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3332, allocations: 0 / 1.087 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.3333, allocations: 39.91 kB / 1.087 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.3335, allocations: 5.719 kB / 1.087 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.3339, allocations: 167.2 kB / 1.087 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.3342, allocations: 0.6807 MB / 1.088 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.3343, allocations: 11.44 kB / 1.088 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3343, allocations: 4 kB / 1.088 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of Templates: time 0.002221/0.3365, allocations: 0.8136 MB / 1.089 GB, free: 6.766 MB / 0.8419 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=400 -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/jenkins1/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