Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 110 kB / 16.37 MB, free: 6.469 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.001192/0.001192, allocations: 195.8 kB / 17.31 MB, free: 5.824 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 / 241 MB, free: 15.18 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.27/2.27, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 71.83 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3205, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002275/0.3228, allocations: 0.7011 MB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.324, allocations: 0.8372 MB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.3241, allocations: 4 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.3241, allocations: 7.922 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.3242, allocations: 3.938 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.3244, allocations: 15.98 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.855e-05/0.3245, allocations: 55.83 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3246, allocations: 11.98 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.765e-05/0.3247, allocations: 19.94 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.3248, allocations: 27.91 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3248, allocations: 4 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.3249, allocations: 4 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.3249, allocations: 11.97 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.3249, allocations: 23.81 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.962e-05/0.325, allocations: 43.86 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3251, allocations: 0 / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3251, allocations: 0 / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3251, allocations: 4 kB / 0.9529 GB, free: 6.258 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.0005534/0.3256, allocations: 364.2 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3257, allocations: 8.031 kB / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.3257, allocations: 0.9375 kB / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.3259, allocations: 180.2 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3259, allocations: 8.375 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3259, allocations: 384 / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.3262, allocations: 73.72 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3262, allocations: 3.938 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3262, allocations: 0 / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3262, allocations: 8 kB / 0.9535 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.3264, allocations: 47.95 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.3269, allocations: 292.8 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.3271, allocations: 62.48 kB / 0.9539 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3272, allocations: 36.91 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3272, allocations: 0 / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.3273, allocations: 34.56 kB / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3273, allocations: 0 / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003967/0.3277, allocations: 105.5 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.3277, allocations: 55.41 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.3278, allocations: 113.8 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3278, allocations: 25.7 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.3279, allocations: 96.14 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.3279, allocations: 11.8 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.3279, allocations: 17.72 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3281, allocations: 318.8 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.3282, allocations: 27.98 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.312e-05/0.3283, allocations: 23.97 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.3284, allocations: 52.81 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3284, allocations: 0 / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002159/0.3287, allocations: 77.98 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3287, allocations: 4 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3287, allocations: 7.984 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.3287, allocations: 4 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3289, allocations: 11.92 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3289, allocations: 7.984 kB / 0.9549 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.3289, allocations: 8 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.329, allocations: 3.984 kB / 0.9549 GB, free: 3.984 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,intLesThr.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 9.237e-05/0.3291, allocations: 113.8 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3291, allocations: 3.906 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.3291, allocations: 19.84 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3291, allocations: 0 / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3291, allocations: 0 / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3292, allocations: 0 / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.3293, allocations: 181.5 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3293, allocations: 0 / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.608e-05/0.3294, allocations: 15.92 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3294, allocations: 0 / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3295, allocations: 0 / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3295, allocations: 0 / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3295, allocations: 0 / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.3297, allocations: 191.4 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.3298, allocations: 85.02 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3298, allocations: 0 / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.3299, allocations: 7.984 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.33, allocations: 15.98 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.33, allocations: 4 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.611e-05/0.33, allocations: 91.27 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3301, allocations: 0 / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002214/0.3303, allocations: 4 kB / 0.9556 GB, free: 3.168 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 (intLesThr.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.0001175/0.3304, allocations: 103.2 kB / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.3307, allocations: 59.94 kB / 0.9557 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3307, allocations: 3.938 kB / 0.9557 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3308, allocations: 31.97 kB / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.331, allocations: 6.188 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.3314, allocations: 129.4 kB / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.3316, allocations: 0.6883 MB / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.3317, allocations: 8 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.3317, allocations: 11.44 kB / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.3317, allocations: 0 / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of Templates: time 0.002907/0.3346, allocations: 0.8848 MB / 0.9574 GB, free: 1.199 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches