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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005588/0.005588, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001196/0.001196, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.542/2.542, allocations: 390.3 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002616/0.002616, allocations: 67.73 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3245, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00226/0.3268, allocations: 0.6934 MB / 1.088 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.328, allocations: 0.8355 MB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.3281, allocations: 0 / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.3281, allocations: 7.922 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.3282, allocations: 7.922 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.3284, allocations: 19.98 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.479e-05/0.3285, allocations: 43.84 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3286, allocations: 23.98 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.3286, allocations: 23.84 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.3287, allocations: 27.91 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3287, allocations: 4 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.3288, allocations: 4 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.3288, allocations: 11.98 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.3288, allocations: 15.88 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.821e-05/0.3289, allocations: 51.84 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3289, allocations: 4 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3289, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3289, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 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.000527/0.3295, allocations: 350.3 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3295, allocations: 8.031 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.3296, allocations: 34.75 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.3296, allocations: 8.844 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3298, allocations: 169.2 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3298, allocations: 12.3 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.3298, allocations: 12.12 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.33, allocations: 69.53 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.33, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.33, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.33, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.3303, allocations: 47.94 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.3308, allocations: 296.7 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.331, allocations: 62.53 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3311, allocations: 32.91 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.3311, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.3312, allocations: 34.56 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3312, allocations: 4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004271/0.3316, allocations: 105.6 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.3317, allocations: 51.41 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.3317, allocations: 109.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3318, allocations: 25.7 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.3318, allocations: 92.05 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.3319, allocations: 7.906 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.3319, allocations: 21.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.332, allocations: 318.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3322, allocations: 23.97 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.289e-05/0.3323, allocations: 23.97 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.3324, allocations: 52.83 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3325, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000244/0.3327, allocations: 85.58 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3327, allocations: 9.562 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3327, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3328, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3329, allocations: 11.98 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.3329, allocations: 320 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.771e-05/0.333, allocations: 19.83 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.333, allocations: 4.266 kB / 1.091 GB, free: 13.9 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 9.265e-05/0.3331, allocations: 113.8 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3331, allocations: 3.984 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.3332, allocations: 19.83 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3332, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3332, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3332, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.3334, allocations: 181.6 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3334, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.3335, allocations: 19.98 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3335, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3335, allocations: 3.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.3335, allocations: 7.922 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3335, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.3338, allocations: 183.3 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.3339, allocations: 85.11 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3339, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.334, allocations: 7.984 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.3341, allocations: 11.98 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.3341, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.951e-05/0.3342, allocations: 95.2 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3342, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002219/0.3344, allocations: 4 kB / 1.092 GB, free: 13.08 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.0006424/0.3351, allocations: 0.7201 MB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.3353, allocations: 51.95 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3353, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.3355, allocations: 39.91 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.3358, allocations: 4 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.3373, allocations: 1.328 MB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3376, allocations: 0.6846 MB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.519e-05/0.3377, allocations: 8 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.3377, allocations: 15.44 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3378, allocations: 0 / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.3554, allocations: 1.843 MB / 1.097 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.185, allocations: 8 kB / 1.097 GB, free: 8.367 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/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