Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.001487/0.001487, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001741/0.001741, allocations: 192.1 kB / 16.14 MB, free: 6.645 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7074, allocations: 140.4 MB / 0.9491 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002038/0.7095, allocations: 0.7648 MB / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008348/0.7104, allocations: 0.8373 MB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.7104, allocations: 0 / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.7105, allocations: 9.406 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.525e-05/0.7106, allocations: 0 / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.7107, allocations: 25.19 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.7108, allocations: 41.84 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.7109, allocations: 9.625 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.711, allocations: 19.61 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.944e-05/0.7111, allocations: 26.22 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.7111, allocations: 6.469 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.7111, allocations: 2.469 kB / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.7112, allocations: 17.22 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.7112, allocations: 15.81 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.83e-05/0.7113, allocations: 43.73 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7113, allocations: 0 / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7113, allocations: 1.188 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7113, allocations: 0 / 0.9508 GB, free: 7.723 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.0004986/0.7118, allocations: 356.9 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.7119, allocations: 13.97 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.7119, allocations: 36.44 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.712, allocations: 2.469 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.7121, allocations: 175.3 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.7122, allocations: 1.688 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.7122, allocations: 2.844 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.7124, allocations: 76.41 kB / 0.9515 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.7125, allocations: 3.938 kB / 0.9515 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.7125, allocations: 0 / 0.9515 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.7125, allocations: 5.344 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.7127, allocations: 46.58 kB / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.7132, allocations: 288.1 kB / 0.9518 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.7135, allocations: 68.02 kB / 0.9519 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.7136, allocations: 30.16 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.7136, allocations: 1.219 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.7136, allocations: 31.69 kB / 0.9519 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.7136, allocations: 0 / 0.9519 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004361/0.7141, allocations: 113.6 kB / 0.952 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.7141, allocations: 51.41 kB / 0.9521 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.7142, allocations: 111.6 kB / 0.9522 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.7142, allocations: 29.7 kB / 0.9522 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.7143, allocations: 90.38 kB / 0.9523 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.7143, allocations: 16.56 kB / 0.9523 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.7144, allocations: 14.72 kB / 0.9523 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.7144, allocations: 328.1 kB / 0.9526 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.7146, allocations: 24.42 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.7147, allocations: 24.84 kB / 0.9527 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.7149, allocations: 49.22 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.7149, allocations: 0 / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002318/0.7151, allocations: 81.16 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.7151, allocations: 15.42 kB / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.7151, allocations: 0 / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.7152, allocations: 5.406 kB / 0.9528 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.7153, allocations: 12.06 kB / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.7153, allocations: 0 / 0.9528 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/0.7154, allocations: 9.078 kB / 0.9528 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.7154, allocations: 1.156 kB / 0.9528 GB, free: 5.73 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,intGreThr.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 8.31e-05/0.7155, allocations: 116.6 kB / 0.953 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.7155, allocations: 9.172 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.7156, allocations: 13.03 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.7156, allocations: 1.344 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7156, allocations: 0 / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7156, allocations: 1.344 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.7158, allocations: 175.6 kB / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7158, allocations: 0 / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.7159, allocations: 16.02 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7159, allocations: 0 / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.7159, allocations: 1.062 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7159, allocations: 0 / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.7159, allocations: 9.156 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.7162, allocations: 183.4 kB / 0.9533 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.7162, allocations: 86.47 kB / 0.9534 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.7163, allocations: 1.25 kB / 0.9534 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.7164, allocations: 8.438 kB / 0.9534 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.308e-05/0.7165, allocations: 15.19 kB / 0.9535 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.7165, allocations: 2.188 kB / 0.9535 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.7165, allocations: 89.11 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7165, allocations: 0 / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002232/0.7168, allocations: 10.47 kB / 0.9536 GB, free: 4.992 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 (intGreThr.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.0005572/0.7173, allocations: 0.7258 MB / 0.9543 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.7176, allocations: 53.55 kB / 0.9543 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7176, allocations: 0 / 0.9543 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.7178, allocations: 35.03 kB / 0.9543 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.7181, allocations: 3.406 kB / 0.9543 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.7195, allocations: 1.326 MB / 0.9556 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.7197, allocations: 0.6806 MB / 0.9563 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.784e-05/0.7197, allocations: 8.25 kB / 0.9563 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.7198, allocations: 22.02 kB / 0.9563 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/0.7198, allocations: 0 / 0.9563 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.7327, allocations: 1.597 MB / 0.9579 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.733, allocations: 219.2 kB / 0.9581 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.558, allocations: 5.094 kB / 0.9581 GB, free: 1.199 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches