Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_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_latest_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.01012/0.01012, allocations: 99.53 kB / 15.73 MB, free: 5.996 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.001703/0.001702, allocations: 195.2 kB / 16.68 MB, free: 5.918 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.768/2.768, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 71.88 kB / 1.054 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243/1.244, allocations: 157.4 MB / 1.208 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002293/1.247, allocations: 0.7066 MB / 1.208 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001307/1.248, allocations: 0.8351 MB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/1.248, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/1.248, allocations: 3.984 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/1.248, allocations: 3.938 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/1.248, allocations: 23.92 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/1.249, allocations: 43.91 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/1.249, allocations: 15.98 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.582e-05/1.249, allocations: 15.92 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/1.249, allocations: 35.84 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/1.249, allocations: 4 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/1.249, allocations: 4 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/1.249, allocations: 11.98 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/1.249, allocations: 23.86 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/1.249, allocations: 43.86 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/1.249, allocations: 0 / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.487e-06/1.249, allocations: 0 / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.249, allocations: 0 / 1.209 GB, free: 11.76 MB / 0.9356 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.0007156/1.25, allocations: 359.2 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.25, allocations: 11.97 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/1.25, allocations: 8.844 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/1.25, allocations: 164.4 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/1.25, allocations: 4.375 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/1.25, allocations: 384 / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/1.251, allocations: 81.56 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.251, allocations: 0 / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.251, allocations: 0 / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1.251, allocations: 4 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/1.251, allocations: 47.95 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/1.251, allocations: 290.5 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/1.252, allocations: 66.53 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.252, allocations: 28.92 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/1.252, allocations: 0 / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/1.252, allocations: 42.48 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/1.252, allocations: 3.938 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004533/1.252, allocations: 109.6 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/1.252, allocations: 55.41 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/1.252, allocations: 105.8 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/1.252, allocations: 29.7 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/1.253, allocations: 88.05 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/1.253, allocations: 11.84 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/1.253, allocations: 17.7 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.253, allocations: 318.8 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/1.253, allocations: 31.97 kB / 1.211 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.065e-05/1.253, allocations: 19.98 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/1.253, allocations: 53.03 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.253, allocations: 0 / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002392/1.253, allocations: 93.53 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.253, allocations: 4 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.253, allocations: 4 kB / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.254, allocations: 4 kB / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/1.254, allocations: 7.984 kB / 1.211 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/1.254, allocations: 4 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/1.254, allocations: 7.984 kB / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/1.254, allocations: 0 / 1.211 GB, free: 9.504 MB / 0.9356 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 0.0001091/1.254, allocations: 117.8 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/1.254, allocations: 0 / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/1.254, allocations: 19.83 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.254, allocations: 4 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.254, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/1.254, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/1.254, allocations: 173.7 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/1.254, allocations: 3.984 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/1.254, allocations: 11.98 kB / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/1.254, allocations: 4 kB / 1.212 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/1.254, allocations: 0 / 1.212 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.254, allocations: 0 / 1.212 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/1.254, allocations: 3.938 kB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/1.255, allocations: 187.3 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/1.255, allocations: 81.11 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/1.255, allocations: 4 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/1.255, allocations: 11.98 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/1.255, allocations: 7.984 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-06/1.255, allocations: 11.94 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.75e-05/1.255, allocations: 83.58 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.255, allocations: 7.938 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002186/1.255, allocations: 11.94 kB / 1.212 GB, free: 8.668 MB / 0.9356 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.0001541/1.255, allocations: 103.2 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002769/1.256, allocations: 47.95 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.256, allocations: 4 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/1.256, allocations: 39.91 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/1.256, allocations: 4 kB / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/1.257, allocations: 145.3 kB / 1.212 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/1.257, allocations: 0.6807 MB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.343e-05/1.257, allocations: 8 kB / 1.213 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/1.257, allocations: 19.42 kB / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/1.257, allocations: 0 / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of Templates: time 0.003531/1.261, allocations: 0.9055 MB / 1.214 GB, free: 6.664 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches