Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_10_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_10_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.001486/0.001486, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001641/0.001641, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.288/1.288, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437.1 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 61.62 kB / 0.8699 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.318, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002284/0.3203, allocations: 0.6994 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3214, allocations: 0.839 MB / 1.019 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.3215, allocations: 0 / 1.019 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.3216, allocations: 3.938 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.236e-05/0.3216, allocations: 7.938 kB / 1.019 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.3218, allocations: 23.97 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.303e-05/0.3219, allocations: 39.86 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.322, allocations: 19.98 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-05/0.3221, allocations: 23.97 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.3222, allocations: 27.86 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.3222, allocations: 4 kB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.3223, allocations: 7.938 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.3223, allocations: 7.984 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.3223, allocations: 19.86 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.3224, allocations: 43.86 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3225, allocations: 0 / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3225, allocations: 0 / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.3225, allocations: 0 / 1.02 GB, free: 8.797 MB / 0.795 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.00055/0.323, allocations: 363.6 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3231, allocations: 8.922 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.3231, allocations: 4.938 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3233, allocations: 180.2 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3233, allocations: 384 / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3233, allocations: 4.375 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.3235, allocations: 69.77 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3235, allocations: 4 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3236, allocations: 0 / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3236, allocations: 4 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.3238, allocations: 47.95 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.3243, allocations: 300.6 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3245, allocations: 66.53 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.3246, allocations: 32.91 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.3246, allocations: 0 / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.3247, allocations: 34.56 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3247, allocations: 0 / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004513/0.3251, allocations: 113.6 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3252, allocations: 55.34 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.3253, allocations: 105.8 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3253, allocations: 25.7 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.3254, allocations: 88.14 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.3254, allocations: 11.8 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.3255, allocations: 17.72 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3256, allocations: 330.8 kB / 1.021 GB, free: 6.754 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.3257, allocations: 19.98 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.589e-05/0.3258, allocations: 23.97 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.326, allocations: 52.75 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.326, allocations: 0 / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002578/0.3263, allocations: 85.66 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3263, allocations: 8 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.3263, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3264, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3265, allocations: 15.97 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3265, allocations: 0 / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.3266, allocations: 7.938 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.3266, allocations: 0 / 1.022 GB, free: 6.535 MB / 0.795 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.871e-05/0.3267, allocations: 128.2 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.3267, allocations: 3.906 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.3267, allocations: 7.906 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3268, allocations: 0 / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3268, allocations: 0 / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3268, allocations: 3.938 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.327, allocations: 189.6 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.327, allocations: 0 / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.3271, allocations: 11.98 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.3271, allocations: 4 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3271, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3271, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3271, allocations: 0 / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.3274, allocations: 179.8 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.3275, allocations: 88.95 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3275, allocations: 0 / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3276, allocations: 12.03 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.3277, allocations: 15.97 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3277, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.3278, allocations: 91.27 kB / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3278, allocations: 3.938 kB / 1.022 GB, free: 5.715 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002256/0.328, allocations: 4 kB / 1.022 GB, free: 5.711 MB / 0.795 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.0001396/0.3281, allocations: 103.2 kB / 1.022 GB, free: 5.598 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00027/0.3284, allocations: 63.94 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3284, allocations: 0 / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.3285, allocations: 27.92 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3289, allocations: 15.38 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.3293, allocations: 152.8 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3295, allocations: 0.6807 MB / 1.023 GB, free: 4.609 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.3296, allocations: 15.42 kB / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3296, allocations: 0 / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of Templates: time 0.002301/0.3319, allocations: 0.8142 MB / 1.024 GB, free: 3.789 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches