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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001087/0.001088, allocations: 105.1 kB / 16.35 MB, free: 5.824 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.001078/0.001078, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.94 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3275, allocations: 140.4 MB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002276/0.3298, allocations: 0.6935 MB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.331, allocations: 0.8371 MB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.3311, allocations: 8 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.3311, allocations: 3.938 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.125e-05/0.3313, allocations: 3.938 kB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.3314, allocations: 23.95 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.363e-05/0.3315, allocations: 47.91 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3317, allocations: 8 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.436e-05/0.3318, allocations: 23.86 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.3318, allocations: 35.89 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.3319, allocations: 4 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/0.3319, allocations: 4 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.3319, allocations: 7.938 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.332, allocations: 19.92 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.3321, allocations: 51.78 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3321, allocations: 0 / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3321, allocations: 7.938 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3321, allocations: 0 / 0.9529 GB, free: 6.219 MB / 0.7325 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.0005817/0.3327, allocations: 355.3 kB / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3328, allocations: 16.02 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.3328, allocations: 0.9375 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.333, allocations: 168.3 kB / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.333, allocations: 384 / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.333, allocations: 4.375 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.3332, allocations: 73.72 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3333, allocations: 4 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3333, allocations: 0 / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3333, allocations: 0 / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.3335, allocations: 55.94 kB / 0.9535 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.334, allocations: 292.8 kB / 0.9538 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.3342, allocations: 66.47 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3344, allocations: 36.91 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3344, allocations: 0 / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3344, allocations: 34.56 kB / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3344, allocations: 0 / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004103/0.3348, allocations: 105.5 kB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3349, allocations: 55.34 kB / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.335, allocations: 121.8 kB / 0.9542 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.335, allocations: 25.7 kB / 0.9542 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.3351, allocations: 84.12 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.3351, allocations: 15.81 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.3351, allocations: 13.72 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3353, allocations: 322.8 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.3354, allocations: 19.98 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.3355, allocations: 27.97 kB / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3357, allocations: 56.81 kB / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3357, allocations: 0 / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002261/0.3359, allocations: 85.58 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3359, allocations: 4 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3359, allocations: 0 / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.336, allocations: 4 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3361, allocations: 11.98 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.3361, allocations: 320 / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.3362, allocations: 7.984 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3362, allocations: 4 kB / 0.9549 GB, free: 3.965 MB / 0.7325 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.719e-05/0.3363, allocations: 113.8 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.3363, allocations: 7.906 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.3363, allocations: 7.906 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3364, allocations: 7.938 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3364, allocations: 0 / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3364, allocations: 0 / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.3366, allocations: 181.5 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3366, allocations: 0 / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.3367, allocations: 11.98 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3367, allocations: 0 / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3367, allocations: 0 / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3367, allocations: 3.984 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3367, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.337, allocations: 191.7 kB / 0.9554 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.337, allocations: 85.05 kB / 0.9554 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3371, allocations: 7.922 kB / 0.9554 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.3372, allocations: 8 kB / 0.9554 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.3372, allocations: 11.98 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3373, allocations: 8 kB / 0.9555 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.3373, allocations: 87.27 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3373, allocations: 0 / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002326/0.3376, allocations: 12 kB / 0.9556 GB, free: 3.137 MB / 0.7325 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.0001325/0.3377, allocations: 99.19 kB / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.338, allocations: 59.88 kB / 0.9557 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.338, allocations: 0 / 0.9557 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3381, allocations: 39.97 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3384, allocations: 0 / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.3388, allocations: 125.7 kB / 0.9559 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.3391, allocations: 0.6883 MB / 0.9565 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.519e-05/0.3392, allocations: 8 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.3392, allocations: 11.44 kB / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.3392, allocations: 0 / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of Templates: time 0.003341/0.3426, allocations: 0.8855 MB / 0.9574 GB, free: 1.168 MB / 0.7325 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 -s gbode -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/jenkins1/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