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.001317/0.001317, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001254/0.001254, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.16 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.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.002151, allocations: 63.95 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2985, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002319/0.3008, allocations: 0.7066 MB / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3019, allocations: 0.8371 MB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.302, allocations: 4 kB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.302, allocations: 3.938 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.941e-05/0.3021, allocations: 3.938 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.3023, allocations: 19.97 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.3024, allocations: 51.84 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3025, allocations: 15.98 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.3026, allocations: 15.92 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.3027, allocations: 31.91 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3027, allocations: 7.938 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.3027, allocations: 4 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.3028, allocations: 11.98 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.3028, allocations: 19.88 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.637e-05/0.3029, allocations: 47.84 kB / 0.9529 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3029, allocations: 0 / 0.9529 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3029, allocations: 0 / 0.9529 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3029, allocations: 0 / 0.9529 GB, free: 6.254 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.0005629/0.3035, allocations: 363.3 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3035, allocations: 8.031 kB / 0.9532 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.3036, allocations: 4.938 kB / 0.9532 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3037, allocations: 168.3 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3038, allocations: 4.375 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3038, allocations: 4.375 kB / 0.9534 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.304, allocations: 77.66 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.304, allocations: 0 / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.304, allocations: 0 / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.304, allocations: 4 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.3042, allocations: 47.95 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.3047, allocations: 292.7 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.3049, allocations: 70.47 kB / 0.9539 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.305, allocations: 32.91 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.305, allocations: 0 / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.3051, allocations: 38.56 kB / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3051, allocations: 0 / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004057/0.3055, allocations: 105.5 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.3056, allocations: 59.41 kB / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3057, allocations: 113.8 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.3057, allocations: 25.7 kB / 0.9542 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.3058, allocations: 88.14 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.3058, allocations: 11.8 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.3059, allocations: 17.72 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3061, allocations: 314.8 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.811e-05/0.3062, allocations: 23.97 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-05/0.3063, allocations: 31.97 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3064, allocations: 48.83 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3064, allocations: 3.984 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002305/0.3067, allocations: 77.66 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3067, allocations: 5.875 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3067, allocations: 3.938 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3067, allocations: 4 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3069, allocations: 11.98 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3069, allocations: 4 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.307, allocations: 7.984 kB / 0.9549 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.307, allocations: 0 / 0.9549 GB, free: 4 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 0.0001052/0.3071, allocations: 117.8 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.3071, allocations: 7.891 kB / 0.955 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.3072, allocations: 15.84 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3072, allocations: 4 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3072, allocations: 0 / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3072, allocations: 0 / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.3074, allocations: 177.5 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3074, allocations: 0 / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.852e-05/0.3075, allocations: 11.98 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3075, allocations: 0 / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3076, allocations: 4 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3076, allocations: 4 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3076, allocations: 0 / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.3079, allocations: 187.7 kB / 0.9554 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.308, allocations: 85.02 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.308, allocations: 4.047 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3081, allocations: 11.97 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.3082, allocations: 11.98 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3082, allocations: 0 / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.625e-05/0.3082, allocations: 91.27 kB / 0.9556 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.3082, allocations: 0 / 0.9556 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002186/0.3085, allocations: 8 kB / 0.9556 GB, free: 3.176 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.0001711/0.3086, allocations: 107.1 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.3089, allocations: 51.89 kB / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3089, allocations: 4 kB / 0.9557 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.309, allocations: 35.97 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3094, allocations: 4 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.3098, allocations: 129.6 kB / 0.9559 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3101, allocations: 0.6844 MB / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.3102, allocations: 8 kB / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.3102, allocations: 15.42 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.3102, allocations: 0 / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of Templates: time 0.002917/0.3132, allocations: 0.8847 MB / 0.9574 GB, free: 1.203 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 cvode -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