Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008449/0.008449, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001756/0.001757, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.251/2.251, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 71.88 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002159/1.035, allocations: 0.701 MB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009965/1.036, allocations: 0.8436 MB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/1.036, allocations: 0.7812 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/1.036, allocations: 5.25 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.415e-05/1.036, allocations: 5.562 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/1.036, allocations: 22.34 kB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.643e-05/1.036, allocations: 52.97 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/1.036, allocations: 12.44 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.425e-05/1.037, allocations: 22.52 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/1.037, allocations: 24.45 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/1.037, allocations: 9.062 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/1.037, allocations: 4.344 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/1.037, allocations: 15.77 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/1.037, allocations: 17.8 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/1.037, allocations: 51.3 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.037, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/1.037, allocations: 0.6094 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.099e-06/1.037, allocations: 1.062 kB / 1.09 GB, free: 4.301 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.0004881/1.037, allocations: 352.6 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.037, allocations: 10 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/1.037, allocations: 7.5 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/1.038, allocations: 169.5 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/1.038, allocations: 1.688 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/1.038, allocations: 7.062 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/1.038, allocations: 72.34 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/1.038, allocations: 0 / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/1.038, allocations: 4.656 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.038, allocations: 1.438 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/1.038, allocations: 47.75 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/1.039, allocations: 294 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/1.039, allocations: 65.94 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/1.039, allocations: 28.42 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/1.039, allocations: 1.109 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/1.039, allocations: 35.2 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/1.039, allocations: 5.219 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004245/1.039, allocations: 108.8 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/1.039, allocations: 53.08 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/1.039, allocations: 110.8 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/1.039, allocations: 26.83 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/1.04, allocations: 89.86 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/1.04, allocations: 19.2 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/1.04, allocations: 15.53 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.181e-05/1.04, allocations: 321.6 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/1.04, allocations: 22.8 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.59e-05/1.04, allocations: 23.64 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/1.04, allocations: 52.83 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.04, allocations: 5.5 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002301/1.04, allocations: 86.72 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.04, allocations: 6.094 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.04, allocations: 4 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.04, allocations: 1.125 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/1.041, allocations: 15.92 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/1.041, allocations: 0 / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/1.041, allocations: 15.86 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/1.041, allocations: 1.094 kB / 1.092 GB, free: 2.5 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,intGreEquThr.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.537e-05/1.041, allocations: 117.5 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/1.041, allocations: 3.109 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/1.041, allocations: 4.703 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.041, allocations: 1.188 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.041, allocations: 1.125 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/1.041, allocations: 0.5156 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/1.041, allocations: 178.6 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.041, allocations: 4.75 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/1.041, allocations: 11.2 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.041, allocations: 1.406 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/1.041, allocations: 0.75 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.041, allocations: 1.375 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.041, allocations: 0.7969 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/1.041, allocations: 190.3 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/1.041, allocations: 78.92 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/1.041, allocations: 2.672 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/1.042, allocations: 6.688 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/1.042, allocations: 11.42 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/1.042, allocations: 2.406 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.702e-05/1.042, allocations: 87.03 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.042, allocations: 0.875 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002184/1.042, allocations: 10.66 kB / 1.092 GB, free: 1.828 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 (intGreEquThr.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.0001562/1.042, allocations: 106.9 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002785/1.042, allocations: 60.22 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.042, allocations: 0.8438 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/1.042, allocations: 29.2 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/1.043, allocations: 11.72 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/1.043, allocations: 144 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/1.043, allocations: 0.6814 MB / 1.093 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.187e-05/1.043, allocations: 4.906 kB / 1.093 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/1.043, allocations: 16.33 kB / 1.093 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.043, allocations: 0 / 1.093 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of Templates: time 0.003642/1.047, allocations: 0.8908 MB / 1.094 GB, free: 0.7734 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches