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.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.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.001603/0.001603, allocations: 106.3 kB / 15.99 MB, free: 6.359 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.00229/0.00229, allocations: 194.7 kB / 16.91 MB, free: 6.195 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.495/1.495, allocations: 222.9 MB / 240.6 MB, free: 15.37 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.328/2.328, allocations: 390.2 MB / 0.665 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 73.77 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2321, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0018/0.2339, allocations: 0.7739 MB / 0.9505 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.2348, allocations: 0.8312 MB / 0.9513 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.2348, allocations: 0 / 0.9513 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.2348, allocations: 3.938 kB / 0.9513 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.2349, allocations: 0 / 0.9513 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.2351, allocations: 19.98 kB / 0.9514 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.2352, allocations: 47.91 kB / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.2352, allocations: 15.98 kB / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.2353, allocations: 19.92 kB / 0.9514 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.2354, allocations: 23.91 kB / 0.9515 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.2354, allocations: 4 kB / 0.9515 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.2354, allocations: 7.938 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.2355, allocations: 15.98 kB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.2355, allocations: 27.8 kB / 0.9515 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.281e-05/0.2356, allocations: 31.94 kB / 0.9516 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2356, allocations: 0 / 0.9516 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2356, allocations: 0 / 0.9516 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2356, allocations: 0 / 0.9516 GB, free: 7.387 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.0004902/0.2361, allocations: 355.6 kB / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2361, allocations: 12.03 kB / 0.9519 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.2362, allocations: 4.922 kB / 0.9519 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2363, allocations: 172.3 kB / 0.9521 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2363, allocations: 8.375 kB / 0.9521 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.2363, allocations: 384 / 0.9521 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.2365, allocations: 73.77 kB / 0.9521 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2366, allocations: 0 / 0.9521 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2366, allocations: 0 / 0.9521 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2366, allocations: 0 / 0.9521 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.2368, allocations: 55.88 kB / 0.9522 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.2373, allocations: 292.8 kB / 0.9525 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.2375, allocations: 62.53 kB / 0.9525 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2376, allocations: 28.92 kB / 0.9526 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.2376, allocations: 11.94 kB / 0.9526 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.2376, allocations: 30.56 kB / 0.9526 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2376, allocations: 0 / 0.9526 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003858/0.238, allocations: 113.6 kB / 0.9527 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2381, allocations: 55.41 kB / 0.9528 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.2382, allocations: 105.8 kB / 0.9529 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2382, allocations: 29.7 kB / 0.9529 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.2382, allocations: 88.14 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.2383, allocations: 7.812 kB / 0.953 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.2383, allocations: 21.7 kB / 0.953 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.2384, allocations: 318.8 kB / 0.9533 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2385, allocations: 23.97 kB / 0.9533 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.632e-05/0.2386, allocations: 27.91 kB / 0.9534 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.2388, allocations: 56.81 kB / 0.9534 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2388, allocations: 3.938 kB / 0.9534 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002248/0.239, allocations: 81.64 kB / 0.9535 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2391, allocations: 4 kB / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2391, allocations: 0 / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2391, allocations: 4 kB / 0.9535 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.2392, allocations: 11.98 kB / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2392, allocations: 4 kB / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.2393, allocations: 15.98 kB / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.2393, allocations: 3.938 kB / 0.9535 GB, free: 5.121 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 7.652e-05/0.2394, allocations: 117.3 kB / 0.9537 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.2394, allocations: 3.906 kB / 0.9537 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.2395, allocations: 11.91 kB / 0.9537 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2395, allocations: 0 / 0.9537 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2395, allocations: 0 / 0.9537 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2395, allocations: 7.984 kB / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.2397, allocations: 181.6 kB / 0.9539 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2397, allocations: 0 / 0.9539 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.042e-05/0.2398, allocations: 11.98 kB / 0.9539 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2398, allocations: 0 / 0.9539 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.2398, allocations: 7.984 kB / 0.9539 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2398, allocations: 0 / 0.9539 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2398, allocations: 0 / 0.9539 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.2401, allocations: 187.4 kB / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.2401, allocations: 85.02 kB / 0.9541 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.2401, allocations: 0 / 0.9541 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2403, allocations: 7.984 kB / 0.9541 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.2403, allocations: 11.98 kB / 0.9541 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2403, allocations: 0 / 0.9541 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.2404, allocations: 87.28 kB / 0.9542 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2404, allocations: 4 kB / 0.9542 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000221/0.2406, allocations: 8 kB / 0.9542 GB, free: 4.309 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.0001076/0.2407, allocations: 107.1 kB / 0.9543 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.241, allocations: 55.95 kB / 0.9544 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.241, allocations: 0 / 0.9544 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.2411, allocations: 32.19 kB / 0.9544 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2414, allocations: 11.8 kB / 0.9544 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.2417, allocations: 171.2 kB / 0.9546 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.242, allocations: 0.6883 MB / 0.9553 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.242, allocations: 11.44 kB / 0.9553 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.242, allocations: 0 / 0.9553 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of Templates: time 0.002027/0.2441, allocations: 0.815 MB / 0.9561 GB, free: 2.367 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 -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