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.001406/0.001406, allocations: 103.9 kB / 16.27 MB, free: 5.98 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.001341/0.001341, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.243/2.243, allocations: 390.3 MB / 0.6653 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.03 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2683, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002329/0.2707, allocations: 0.6994 MB / 0.951 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2718, allocations: 0.8371 MB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.2719, allocations: 0 / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.272, allocations: 7.938 kB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.272, allocations: 3.938 kB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.2722, allocations: 19.98 kB / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.2723, allocations: 51.89 kB / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.2724, allocations: 12 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.373e-05/0.2725, allocations: 15.92 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.2726, allocations: 27.91 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.2726, allocations: 4 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.2726, allocations: 11.94 kB / 0.9519 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.2727, allocations: 15.97 kB / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.2727, allocations: 15.88 kB / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.2728, allocations: 47.84 kB / 0.952 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2728, allocations: 0 / 0.952 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2728, allocations: 0 / 0.952 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2728, allocations: 0 / 0.952 GB, free: 7.109 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.0005275/0.2734, allocations: 363.5 kB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2734, allocations: 12.03 kB / 0.9524 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.2735, allocations: 8.875 kB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2736, allocations: 168.3 kB / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.2736, allocations: 4.375 kB / 0.9525 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.2737, allocations: 384 / 0.9525 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.2739, allocations: 69.78 kB / 0.9526 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2739, allocations: 3.984 kB / 0.9526 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.2739, allocations: 4 kB / 0.9526 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2739, allocations: 0 / 0.9526 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.2741, allocations: 51.95 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.2746, allocations: 288.7 kB / 0.9529 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.2749, allocations: 66.53 kB / 0.953 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.275, allocations: 28.92 kB / 0.953 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.275, allocations: 4.062 kB / 0.953 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.275, allocations: 38.55 kB / 0.9531 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.275, allocations: 0 / 0.9531 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004257/0.2755, allocations: 113.5 kB / 0.9532 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.2755, allocations: 59.41 kB / 0.9532 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.2756, allocations: 105.8 kB / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.2757, allocations: 25.7 kB / 0.9534 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.2757, allocations: 88.14 kB / 0.9534 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.2757, allocations: 15.75 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.2758, allocations: 17.7 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2759, allocations: 318.8 kB / 0.9538 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.276, allocations: 23.97 kB / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.231e-05/0.2761, allocations: 27.98 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.2763, allocations: 52.75 kB / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2763, allocations: 0 / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002523/0.2766, allocations: 85.64 kB / 0.954 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2766, allocations: 4 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2766, allocations: 0 / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2766, allocations: 4 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.2768, allocations: 15.98 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2768, allocations: 0 / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.2769, allocations: 11.98 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2769, allocations: 0 / 0.954 GB, free: 4.848 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.214e-05/0.277, allocations: 117.8 kB / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.277, allocations: 3.906 kB / 0.9541 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.277, allocations: 7.891 kB / 0.9541 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2771, allocations: 7.938 kB / 0.9541 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2771, allocations: 4 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2771, allocations: 3.938 kB / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.2773, allocations: 177.5 kB / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2773, allocations: 0 / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.302e-05/0.2774, allocations: 11.98 kB / 0.9543 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2774, allocations: 0 / 0.9543 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.2774, allocations: 7.984 kB / 0.9543 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2774, allocations: 0 / 0.9543 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2774, allocations: 0 / 0.9543 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.2777, allocations: 183.4 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.2777, allocations: 81.02 kB / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.2778, allocations: 0 / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2779, allocations: 11.98 kB / 0.9546 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.2779, allocations: 11.98 kB / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.278, allocations: 0 / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.278, allocations: 91.22 kB / 0.9547 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.823e-06/0.278, allocations: 0 / 0.9547 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002254/0.2782, allocations: 11.94 kB / 0.9547 GB, free: 4.031 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.0001345/0.2784, allocations: 111.5 kB / 0.9548 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.2787, allocations: 55.94 kB / 0.9549 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.2787, allocations: 4 kB / 0.9549 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.2788, allocations: 35.91 kB / 0.9549 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.2791, allocations: 11.94 kB / 0.9549 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.2795, allocations: 151.3 kB / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.2798, allocations: 0.6844 MB / 0.9557 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.2799, allocations: 11.44 kB / 0.9557 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.2799, allocations: 0 / 0.9557 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of Templates: time 0.00222/0.2821, allocations: 0.8047 MB / 0.9565 GB, free: 2.109 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 -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