Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.001199/0.001199, allocations: 108 kB / 15.61 MB, free: 152 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.001304/0.001305, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.402 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.483/2.483, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001503, allocations: 67.89 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7834/0.785, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002644/0.7877, allocations: 0.6973 MB / 0.9504 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009298/0.7886, allocations: 0.8408 MB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.7887, allocations: 0 / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.7887, allocations: 5.5 kB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.7888, allocations: 3.938 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.789, allocations: 28.59 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.109e-05/0.7891, allocations: 42.7 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.7892, allocations: 18.36 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.7893, allocations: 22.47 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.7894, allocations: 22.64 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.7894, allocations: 4.188 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.7894, allocations: 4.219 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.7895, allocations: 13.3 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.7895, allocations: 24.28 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.602e-05/0.7896, allocations: 40.38 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.7896, allocations: 4 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7896, allocations: 0 / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.7896, allocations: 0 / 0.9515 GB, free: 7.754 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.0005091/0.7901, allocations: 366.6 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.7902, allocations: 9.344 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.7902, allocations: 31.84 kB / 0.9518 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.7903, allocations: 3.406 kB / 0.9518 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.7904, allocations: 175.1 kB / 0.952 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.7904, allocations: 5.75 kB / 0.952 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.7904, allocations: 7.312 kB / 0.952 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.7906, allocations: 72.2 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.7906, allocations: 0 / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.7907, allocations: 0 / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.7907, allocations: 1.031 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.7909, allocations: 47.7 kB / 0.9521 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.7913, allocations: 294.1 kB / 0.9524 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.7915, allocations: 63.45 kB / 0.9525 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.7916, allocations: 34.69 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.7916, allocations: 1.438 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.7916, allocations: 34.56 kB / 0.9525 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.7916, allocations: 1.062 kB / 0.9526 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004026/0.792, allocations: 111.9 kB / 0.9527 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.7921, allocations: 52.84 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.7922, allocations: 110.7 kB / 0.9528 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.7922, allocations: 25.7 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.7922, allocations: 94.44 kB / 0.9529 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.7922, allocations: 13 kB / 0.9529 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.7923, allocations: 22.12 kB / 0.953 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.7924, allocations: 319.9 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.7925, allocations: 20.83 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.823e-05/0.7926, allocations: 24.56 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.7927, allocations: 58.88 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7928, allocations: 0 / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002224/0.793, allocations: 84.67 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.793, allocations: 4.656 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.793, allocations: 1.625 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.793, allocations: 0 / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.7932, allocations: 11.33 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7932, allocations: 0 / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.7933, allocations: 13.16 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.7933, allocations: 5.109 kB / 0.9535 GB, free: 5.754 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,intGreEquThr.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.657e-05/0.7934, allocations: 112 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.7934, allocations: 6.875 kB / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.7934, allocations: 7.906 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.7934, allocations: 2.094 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.7934, allocations: 0 / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7935, allocations: 0 / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.7936, allocations: 183.8 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7936, allocations: 4 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.7937, allocations: 15.58 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7937, allocations: 1.125 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.7937, allocations: 1.156 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7937, allocations: 0 / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7937, allocations: 320 / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.794, allocations: 188.3 kB / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.7941, allocations: 82.39 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.7941, allocations: 5.516 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.7942, allocations: 3.812 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.7943, allocations: 16.27 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.7943, allocations: 1.438 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.7943, allocations: 92.97 kB / 0.9542 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7943, allocations: 0 / 0.9542 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002255/0.7946, allocations: 10.47 kB / 0.9542 GB, free: 5.02 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 (intGreEquThr.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.0005458/0.7951, allocations: 0.7177 MB / 0.9549 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002746/0.7954, allocations: 66.55 kB / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7954, allocations: 0 / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.7955, allocations: 34.62 kB / 0.955 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.7959, allocations: 6.875 kB / 0.955 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.7972, allocations: 1.314 MB / 0.9563 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.7974, allocations: 0.6883 MB / 0.9569 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.453e-05/0.7974, allocations: 3.406 kB / 0.9569 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.7975, allocations: 18.69 kB / 0.957 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7975, allocations: 0 / 0.957 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.8162, allocations: 1.82 MB / 0.9587 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.471, allocations: 14.22 kB / 0.9588 GB, free: 1.32 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_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_GreaterEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches