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.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.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.001193/0.001193, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00118/0.00118, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.481/1.481, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.417/2.417, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6848/0.6862, allocations: 140.4 MB / 0.9492 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001872/0.6881, allocations: 0.7576 MB / 0.95 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.6889, allocations: 0.8376 MB / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.6889, allocations: 0 / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.689, allocations: 0 / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.114e-05/0.6891, allocations: 9.312 kB / 0.9508 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.6892, allocations: 24.09 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.6893, allocations: 42.95 kB / 0.9509 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.6895, allocations: 14.55 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.6895, allocations: 18.89 kB / 0.9509 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.6896, allocations: 26.91 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.6896, allocations: 7.719 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.6897, allocations: 4.219 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.6897, allocations: 17.14 kB / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.6897, allocations: 19.86 kB / 0.951 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.189e-05/0.6898, allocations: 44.14 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.6898, allocations: 0 / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6898, allocations: 1.75 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.6898, allocations: 3.938 kB / 0.951 GB, free: 7.688 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.0005055/0.6904, allocations: 360.8 kB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.6904, allocations: 13.45 kB / 0.9514 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.6904, allocations: 36.16 kB / 0.9514 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.6905, allocations: 3.656 kB / 0.9514 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.919e-05/0.6906, allocations: 167.1 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.6906, allocations: 5.906 kB / 0.9516 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.6906, allocations: 1.781 kB / 0.9516 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.6908, allocations: 68.06 kB / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6908, allocations: 0 / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.6909, allocations: 0.9688 kB / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6909, allocations: 1.281 kB / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.6911, allocations: 62.91 kB / 0.9517 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.6915, allocations: 283.2 kB / 0.952 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.6917, allocations: 63.75 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.6918, allocations: 35.83 kB / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.6918, allocations: 0 / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.6919, allocations: 43.75 kB / 0.9521 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.6919, allocations: 0 / 0.9521 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004267/0.6923, allocations: 108.3 kB / 0.9522 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.6923, allocations: 56.72 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.6924, allocations: 107.3 kB / 0.9524 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.6924, allocations: 25.7 kB / 0.9524 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.6925, allocations: 85.55 kB / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.6925, allocations: 13.53 kB / 0.9525 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.6925, allocations: 26.3 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.6926, allocations: 316.6 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.6927, allocations: 23.84 kB / 0.9529 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.6928, allocations: 32.3 kB / 0.9529 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.693, allocations: 50.31 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.693, allocations: 0 / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002204/0.6932, allocations: 80.92 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6933, allocations: 6.062 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6933, allocations: 0 / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.6933, allocations: 4 kB / 0.953 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.6934, allocations: 15.83 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6934, allocations: 1.625 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.6935, allocations: 11.8 kB / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.6935, allocations: 1.406 kB / 0.953 GB, free: 5.695 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 7.294e-05/0.6936, allocations: 116.6 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.6937, allocations: 6.031 kB / 0.9532 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.6937, allocations: 12.61 kB / 0.9532 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.6937, allocations: 4.844 kB / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6937, allocations: 1.406 kB / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6937, allocations: 0 / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.6939, allocations: 175.4 kB / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.6939, allocations: 4 kB / 0.9534 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.694, allocations: 12.39 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.694, allocations: 0 / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.694, allocations: 5.438 kB / 0.9534 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.694, allocations: 0 / 0.9534 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.694, allocations: 0 / 0.9534 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.6943, allocations: 188.4 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.6943, allocations: 82.3 kB / 0.9536 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.6943, allocations: 1.5 kB / 0.9536 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.6945, allocations: 8.516 kB / 0.9536 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.6945, allocations: 11.39 kB / 0.9537 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.6946, allocations: 2.094 kB / 0.9537 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.6946, allocations: 92.55 kB / 0.9537 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6946, allocations: 1.094 kB / 0.9537 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000227/0.6948, allocations: 10.06 kB / 0.9538 GB, free: 4.961 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.0004511/0.6953, allocations: 0.7205 MB / 0.9545 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.6955, allocations: 63.02 kB / 0.9545 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.6956, allocations: 0 / 0.9545 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.6957, allocations: 30.69 kB / 0.9545 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.696, allocations: 7.281 kB / 0.9546 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.6973, allocations: 1.323 MB / 0.9558 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.6974, allocations: 0.6849 MB / 0.9565 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.638e-05/0.6975, allocations: 11.17 kB / 0.9565 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.6975, allocations: 18.41 kB / 0.9565 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/0.6976, allocations: 1.125 kB / 0.9565 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.7284, allocations: 1.667 MB / 0.9582 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.7286, allocations: 216.2 kB / 0.9584 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.518, allocations: 0 / 0.9584 GB, free: 1.137 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