Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001393/0.001393, allocations: 191 kB / 16.25 MB, free: 6.637 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.509/1.509, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.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.585/2.585, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 67.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8238/0.8255, allocations: 140.4 MB / 0.9491 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002448/0.828, allocations: 0.7641 MB / 0.9499 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009283/0.8289, allocations: 0.8342 MB / 0.9507 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.829, allocations: 1.375 kB / 0.9507 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.969e-05/0.829, allocations: 3.938 kB / 0.9507 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.253e-05/0.8291, allocations: 0 / 0.9507 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.8293, allocations: 17.48 kB / 0.9507 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.557e-05/0.8294, allocations: 49.77 kB / 0.9507 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.8295, allocations: 14.88 kB / 0.9508 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.8296, allocations: 22.73 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.8297, allocations: 26.78 kB / 0.9508 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.8297, allocations: 4.125 kB / 0.9508 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.8297, allocations: 4.125 kB / 0.9508 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.8297, allocations: 17.28 kB / 0.9508 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.8298, allocations: 24 kB / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.299e-05/0.8299, allocations: 44.05 kB / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8299, allocations: 4 kB / 0.9509 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8299, allocations: 0 / 0.9509 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.8299, allocations: 1.375 kB / 0.9509 GB, free: 7.848 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.0004687/0.8304, allocations: 363.1 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8304, allocations: 10.78 kB / 0.9513 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.8305, allocations: 2.219 kB / 0.9513 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.8306, allocations: 167.6 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.8306, allocations: 2.062 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.8306, allocations: 10.41 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.8308, allocations: 75.95 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8308, allocations: 3.984 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.8309, allocations: 0 / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.8309, allocations: 1.531 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.8311, allocations: 47.61 kB / 0.9515 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.8314, allocations: 285.5 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.8316, allocations: 67.94 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/0.8317, allocations: 27.52 kB / 0.9519 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.8317, allocations: 0 / 0.9519 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.8318, allocations: 43.89 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.8318, allocations: 0 / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003718/0.8321, allocations: 105.5 kB / 0.9521 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.8322, allocations: 51.41 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.8322, allocations: 118.9 kB / 0.9522 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.8323, allocations: 27.2 kB / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.8323, allocations: 85.17 kB / 0.9523 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.8323, allocations: 17 kB / 0.9523 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.8324, allocations: 17.89 kB / 0.9524 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.8324, allocations: 321.2 kB / 0.9527 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/0.8325, allocations: 23.19 kB / 0.9527 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.8326, allocations: 24.95 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.8328, allocations: 58.59 kB / 0.9528 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8328, allocations: 0 / 0.9528 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002052/0.833, allocations: 80.95 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.833, allocations: 6.062 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.833, allocations: 0 / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.833, allocations: 4.031 kB / 0.9529 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.8332, allocations: 16.14 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.8332, allocations: 0 / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.8333, allocations: 13.14 kB / 0.9529 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.8333, allocations: 1.25 kB / 0.9529 GB, free: 5.895 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,intLesEquThr.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 6.431e-05/0.8333, allocations: 120.2 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.8334, allocations: 5.219 kB / 0.953 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.8334, allocations: 13.14 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.8334, allocations: 1.188 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.8334, allocations: 0 / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8334, allocations: 5.344 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.8336, allocations: 171.6 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.8336, allocations: 4 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-05/0.8337, allocations: 12.02 kB / 0.9532 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8337, allocations: 0 / 0.9532 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.8337, allocations: 5.266 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8337, allocations: 0 / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8337, allocations: 1.25 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.8339, allocations: 187.2 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.834, allocations: 82.42 kB / 0.9535 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.834, allocations: 5.156 kB / 0.9535 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.697e-05/0.8341, allocations: 7.953 kB / 0.9535 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.8342, allocations: 12.17 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.8342, allocations: 1.469 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.286e-05/0.8342, allocations: 81.69 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8342, allocations: 0 / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002173/0.8344, allocations: 9.406 kB / 0.9536 GB, free: 5.168 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 (intLesEquThr.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.0001449/0.8346, allocations: 109.7 kB / 0.9537 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.8348, allocations: 55.7 kB / 0.9537 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8349, allocations: 0 / 0.9537 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.835, allocations: 37.72 kB / 0.9538 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.8353, allocations: 5.672 kB / 0.9538 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.8356, allocations: 155.2 kB / 0.9539 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.8358, allocations: 0.6848 MB / 0.9546 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.756e-05/0.8358, allocations: 6.844 kB / 0.9546 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.8359, allocations: 15.67 kB / 0.9546 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8359, allocations: 0 / 0.9546 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.002811/0.8387, allocations: 0.8009 MB / 0.9554 GB, free: 3.746 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches