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.001684/0.00169, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.00195/0.00195, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.13 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.31/2.31, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.91 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9087/0.9101, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001863/0.912, allocations: 0.7091 MB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000891/0.9129, allocations: 0.836 MB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.913, allocations: 1.344 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.913, allocations: 8.547 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.9131, allocations: 4.594 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.9133, allocations: 26.84 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.9134, allocations: 45.59 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.9135, allocations: 15.92 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.9136, allocations: 23.25 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.212e-05/0.9136, allocations: 24.92 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.9137, allocations: 8.156 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.495e-05/0.9137, allocations: 4.438 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.9137, allocations: 11.5 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.9138, allocations: 18.34 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.9139, allocations: 46.39 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9139, allocations: 5.094 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.196e-06/0.9139, allocations: 0.6562 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.9139, allocations: 0 / 1.09 GB, free: 4.289 MB / 0.8575 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.0004946/0.9144, allocations: 349.5 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.9145, allocations: 13.41 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.9145, allocations: 8.172 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.9146, allocations: 168.9 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.9147, allocations: 5.656 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.9147, allocations: 2.75 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.9149, allocations: 68.91 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.9149, allocations: 0 / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.9149, allocations: 0 / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.9149, allocations: 1.891 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.9152, allocations: 52.53 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.9156, allocations: 297.4 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.9158, allocations: 61.59 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.9159, allocations: 32.83 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.9159, allocations: 4.797 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.9159, allocations: 35.62 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.9159, allocations: 1.094 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000426/0.9164, allocations: 105.4 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.9164, allocations: 52.06 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.9165, allocations: 115.3 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.9165, allocations: 25.7 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.9165, allocations: 92.11 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.9166, allocations: 10.62 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.9166, allocations: 18.73 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.9167, allocations: 317.4 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.9168, allocations: 28.34 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.9169, allocations: 25.91 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.9171, allocations: 62.64 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9171, allocations: 0 / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000239/0.9173, allocations: 82.75 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.9174, allocations: 6.578 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.9174, allocations: 0 / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.9174, allocations: 1.656 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.9175, allocations: 15.41 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.9175, allocations: 0.7031 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.9176, allocations: 14.75 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.9176, allocations: 2.016 kB / 1.092 GB, free: 2.492 MB / 0.8575 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.387e-05/0.9177, allocations: 113.7 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.9177, allocations: 1.688 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.9178, allocations: 9.734 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.9178, allocations: 1.094 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.9178, allocations: 4.797 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9178, allocations: 1.5 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.918, allocations: 174.3 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.918, allocations: 0 / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.9181, allocations: 11.09 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.9181, allocations: 5.859 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.9181, allocations: 4 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9181, allocations: 1.75 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9181, allocations: 0 / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.9184, allocations: 187.2 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.9184, allocations: 79.53 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.9184, allocations: 1.609 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.9185, allocations: 6.641 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.9186, allocations: 11.62 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.9186, allocations: 2.297 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.9187, allocations: 91.97 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9187, allocations: 3.938 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002393/0.9189, allocations: 10.47 kB / 1.093 GB, free: 1.812 MB / 0.8575 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.000124/0.919, allocations: 99.27 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.9193, allocations: 60.23 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9193, allocations: 0 / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.9195, allocations: 32.27 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.9198, allocations: 10.08 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.9202, allocations: 163.6 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.9203, allocations: 0.6812 MB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.9204, allocations: 16.72 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.9204, allocations: 0 / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of Templates: time 0.002762/0.9231, allocations: 0.8073 MB / 1.095 GB, free: 0.7891 MB / 0.8575 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/jenkins1/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