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.001508/0.001507, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.458/1.458, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.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.454/2.454, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7341, allocations: 140.4 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002101/0.7362, allocations: 0.7556 MB / 0.9503 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.7372, allocations: 0.8368 MB / 0.9511 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.7373, allocations: 5.375 kB / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.7373, allocations: 0 / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.7374, allocations: 3.938 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.7376, allocations: 21.47 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.7377, allocations: 41.78 kB / 0.9512 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.7378, allocations: 9.5 kB / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.7379, allocations: 18.8 kB / 0.9512 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.738, allocations: 30.77 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.738, allocations: 2.75 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.738, allocations: 2.75 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.738, allocations: 9.312 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.7381, allocations: 20.05 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.855e-05/0.7382, allocations: 38.73 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7382, allocations: 0 / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7382, allocations: 0 / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.7382, allocations: 0 / 0.9513 GB, free: 7.723 MB / 0.7169 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.0005538/0.7387, allocations: 370.7 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.7388, allocations: 9.625 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.7388, allocations: 6.312 kB / 0.9517 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.739, allocations: 172.4 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.739, allocations: 1.75 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.739, allocations: 1.75 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.7393, allocations: 73.02 kB / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.7393, allocations: 0 / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.7393, allocations: 4 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.7393, allocations: 5.375 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.7395, allocations: 51.39 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.7399, allocations: 290.8 kB / 0.9523 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.7402, allocations: 68.12 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.7403, allocations: 30.41 kB / 0.9524 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.7403, allocations: 1.312 kB / 0.9524 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.7403, allocations: 35.75 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.7403, allocations: 3.938 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004374/0.7408, allocations: 111.9 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.7408, allocations: 52.91 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.7409, allocations: 106.9 kB / 0.9527 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.7409, allocations: 25.7 kB / 0.9527 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.7409, allocations: 90.84 kB / 0.9528 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.741, allocations: 13.16 kB / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.741, allocations: 17.44 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.7411, allocations: 324.4 kB / 0.9531 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.7412, allocations: 24.17 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/0.7413, allocations: 28.75 kB / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.7415, allocations: 50.12 kB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.7415, allocations: 0 / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002292/0.7417, allocations: 85.42 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.7417, allocations: 11.16 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7417, allocations: 0 / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.7418, allocations: 1.25 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.7419, allocations: 15.58 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.7419, allocations: 0 / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.742, allocations: 9.016 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.742, allocations: 1.156 kB / 0.9533 GB, free: 5.762 MB / 0.7169 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 8.31e-05/0.7421, allocations: 120.5 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.7421, allocations: 10.34 kB / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.7422, allocations: 5 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.7422, allocations: 0 / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7422, allocations: 1.25 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7422, allocations: 0 / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.7423, allocations: 180.1 kB / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7423, allocations: 0 / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.7424, allocations: 11.61 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7424, allocations: 1.406 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.7425, allocations: 0 / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7425, allocations: 0 / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7425, allocations: 13.3 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.7427, allocations: 176 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.7428, allocations: 94.19 kB / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.7428, allocations: 1.562 kB / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.7429, allocations: 8.703 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.743, allocations: 15.05 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.743, allocations: 1.375 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.7431, allocations: 84.97 kB / 0.954 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7431, allocations: 0.9688 kB / 0.954 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002269/0.7433, allocations: 10.47 kB / 0.954 GB, free: 5.027 MB / 0.7169 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.0001393/0.7434, allocations: 104.5 kB / 0.9541 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.7437, allocations: 54.39 kB / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7437, allocations: 5.062 kB / 0.9542 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.7438, allocations: 33.69 kB / 0.9542 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.7442, allocations: 2.75 kB / 0.9542 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.7446, allocations: 174.8 kB / 0.9544 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.7448, allocations: 0.6831 MB / 0.9551 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.7448, allocations: 11.41 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.7448, allocations: 0 / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of Templates: time 0.002207/0.747, allocations: 0.7967 MB / 0.9559 GB, free: 3.602 MB / 0.7169 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