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.01302/0.01302, allocations: 101.9 kB / 15.73 MB, free: 6.008 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.002953/0.002954, allocations: 191 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.587/2.587, allocations: 222.9 MB / 240.4 MB, free: 4.328 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 4.127/4.127, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 66.8 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5477/0.5491, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.004046/0.5532, allocations: 0.7089 MB / 1.088 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.5554, allocations: 0.8316 MB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.321e-05/0.5555, allocations: 0 / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.582e-05/0.5556, allocations: 3.938 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.5557, allocations: 7.938 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.556, allocations: 23.91 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.5562, allocations: 51.83 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.5564, allocations: 16 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.5566, allocations: 19.92 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.5567, allocations: 23.91 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.5568, allocations: 4 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.5568, allocations: 4 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.5568, allocations: 11.98 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.5569, allocations: 23.86 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.5572, allocations: 43.86 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5572, allocations: 0 / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5573, allocations: 4 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.5573, 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.0009258/0.5582, allocations: 356.3 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/0.5583, allocations: 12.02 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.5584, allocations: 34.75 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.5585, allocations: 4.844 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.5587, allocations: 181 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.5588, allocations: 384 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.5588, allocations: 12.12 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.5592, allocations: 61.66 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5592, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.5592, allocations: 3.938 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.5593, allocations: 3.984 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.5596, allocations: 51.95 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.5603, allocations: 288.7 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.5607, allocations: 62.53 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.5609, allocations: 32.92 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.5609, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.561, allocations: 30.56 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.561, allocations: 4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0007951/0.5618, allocations: 113.5 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.5619, allocations: 51.41 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.562, allocations: 113.9 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.5621, allocations: 25.7 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.5623, allocations: 88.05 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.5623, allocations: 7.906 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.5624, allocations: 25.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0003797/0.5628, allocations: 314.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.563, allocations: 27.97 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.5634, allocations: 19.98 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.5637, allocations: 57.03 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5638, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004651/0.5642, allocations: 85.62 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5643, allocations: 8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5643, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.5643, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.5645, allocations: 11.98 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5645, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.5647, allocations: 15.83 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.5647, allocations: 15.88 kB / 1.091 GB, free: 13.88 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,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 0.0001364/0.5649, allocations: 109.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.5649, allocations: 4 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.565, allocations: 3.906 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.565, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.565, allocations: 3.984 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.565, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.5653, allocations: 181.5 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5654, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.5655, allocations: 15.98 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.5655, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.5655, allocations: 3.984 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5655, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5656, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.566, allocations: 191.3 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.5661, allocations: 81.11 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.5662, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.5663, allocations: 7.984 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.5664, allocations: 11.98 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5665, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.469e-05/0.5666, allocations: 87.22 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.795e-06/0.5666, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004244/0.567, allocations: 11.94 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 (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.001004/0.568, allocations: 0.7202 MB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.5685, allocations: 51.95 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5685, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.5687, allocations: 35.91 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.5693, allocations: 8 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.00268/0.572, allocations: 1.332 MB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/0.5726, allocations: 0.6807 MB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.913e-05/0.5727, allocations: 11.98 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.5728, allocations: 15.44 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of SimCode: time 1.042e-06/0.5729, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.6025, allocations: 1.856 MB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.84, allocations: 7.688 kB / 1.097 GB, free: 8.375 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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