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.001284/0.001284, allocations: 101.1 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.001316/0.001316, allocations: 190.3 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.403/1.403, 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.53/2.53, allocations: 437.1 MB / 0.711 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 75.33 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3077, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002087/0.3098, allocations: 0.7135 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3108, allocations: 0.8312 MB / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.3109, allocations: 0 / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.3109, allocations: 3.938 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.311, allocations: 3.938 kB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.3111, allocations: 23.92 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.653e-05/0.3112, allocations: 47.91 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3114, allocations: 23.91 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.297e-05/0.3114, allocations: 19.94 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.3115, allocations: 23.91 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.3115, allocations: 4 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.3116, allocations: 4 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.3116, allocations: 11.97 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.3116, allocations: 19.88 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.365e-05/0.3117, allocations: 39.86 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3117, allocations: 4 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3118, allocations: 8 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3118, allocations: 0 / 1.02 GB, free: 8.812 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.0005504/0.3123, allocations: 355.6 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3124, allocations: 12.62 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.3124, allocations: 0.9375 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.3126, allocations: 172.3 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3126, allocations: 4.375 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3126, allocations: 4.375 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3128, allocations: 77.7 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3129, allocations: 4 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3129, allocations: 0 / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3129, allocations: 0 / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.3131, allocations: 47.95 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.3136, allocations: 292.7 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3138, allocations: 66.47 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3139, allocations: 32.92 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.3139, allocations: 0 / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.314, allocations: 34.55 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 2.835e-06/0.314, allocations: 7.938 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004338/0.3144, allocations: 105.8 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3145, allocations: 55.34 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.3146, allocations: 117.8 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3146, allocations: 25.7 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.3146, allocations: 84.14 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3147, allocations: 15.88 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.3147, allocations: 29.64 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3149, allocations: 314.8 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.315, allocations: 23.97 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-05/0.3151, allocations: 19.98 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.3153, allocations: 56.81 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3153, allocations: 4 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002521/0.3156, allocations: 89.58 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3156, allocations: 4 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3156, allocations: 0 / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3156, allocations: 0 / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3157, allocations: 11.98 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3158, allocations: 0 / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.3158, allocations: 11.98 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3159, allocations: 8 kB / 1.022 GB, free: 6.543 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.752e-05/0.3159, allocations: 109.8 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.316, allocations: 7.906 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.316, allocations: 11.89 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.316, allocations: 0 / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.316, allocations: 0 / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.316, allocations: 0 / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.3162, allocations: 177.5 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3163, allocations: 0 / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.3163, allocations: 15.98 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3164, allocations: 3.984 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3164, allocations: 4 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3164, allocations: 0 / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3164, allocations: 7.938 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.3167, allocations: 183.4 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.3168, allocations: 81.02 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3168, allocations: 4 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3169, allocations: 7.984 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.317, allocations: 11.98 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.317, allocations: 4 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.3171, allocations: 83.28 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3171, allocations: 0 / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002268/0.3173, allocations: 8 kB / 1.022 GB, free: 5.738 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.0001575/0.3175, allocations: 111.2 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.3177, allocations: 56.12 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3178, allocations: 0 / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.3179, allocations: 32.06 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.3182, allocations: 3.938 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.3186, allocations: 164.9 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3189, allocations: 0.6807 MB / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.319, allocations: 11.44 kB / 1.023 GB, free: 4.617 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.319, allocations: 0 / 1.023 GB, free: 4.617 MB / 0.795 GB Notification: Performance of Templates: time 0.002569/0.3215, allocations: 0.8163 MB / 1.024 GB, free: 3.809 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=400 -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