Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Greater,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",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.000733/0.000733, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004877/0.004877, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.282/2.282, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002957, allocations: 16 kB / 0.873 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5248/0.5251, allocations: 153.8 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.0007972/0.5259, allocations: 0.5009 MB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.5268, allocations: 0.8507 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.5268, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.5269, allocations: 3.938 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.5269, allocations: 15.86 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.5271, allocations: 35.95 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.83e-05/0.5272, allocations: 71.89 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.5273, allocations: 23.98 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.847e-05/0.5273, allocations: 43.77 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.5274, allocations: 39.83 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.5275, allocations: 4 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.5275, allocations: 4 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.5275, allocations: 19.91 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.5276, allocations: 49.56 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.051e-05/0.5277, allocations: 87.64 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5277, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5277, allocations: 3.938 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.5277, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005358/0.5282, allocations: 385.7 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.5283, allocations: 12.03 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.5283, allocations: 42.73 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.5283, allocations: 8.844 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.5285, allocations: 176.2 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.5285, allocations: 4.375 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.5285, allocations: 4.375 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.5288, allocations: 125.5 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.5288, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.5288, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5289, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.5292, allocations: 119.9 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.5297, allocations: 356.5 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.5303, allocations: 130.6 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.5305, allocations: 64.81 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.5305, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.5305, allocations: 34.5 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.5306, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006473/0.5312, allocations: 217.5 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.5312, allocations: 55.39 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.5313, allocations: 121.8 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.5314, allocations: 29.7 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.5314, allocations: 99.97 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.5314, allocations: 27.66 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.5315, allocations: 9.719 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.5316, allocations: 322.8 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.5318, allocations: 51.95 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.5319, allocations: 59.95 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.5323, allocations: 125.2 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5323, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004078/0.5327, allocations: 149.6 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.5327, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5328, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.5328, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.5329, allocations: 35.97 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.5329, allocations: 0 / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.5331, allocations: 31.81 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.5331, allocations: 4 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.582e-05/0.5332, allocations: 122.3 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.5332, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.5332, allocations: 24.28 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5332, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5333, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5333, allocations: 3.938 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.5334, allocations: 201.5 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.5335, allocations: 3.984 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.5336, allocations: 27.98 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.5336, allocations: 3.984 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.5336, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5336, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5336, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.5341, allocations: 255.3 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.5341, allocations: 85.02 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.5342, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.5343, allocations: 27.97 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.5344, allocations: 23.86 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.5344, allocations: 3.984 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.601e-05/0.5345, allocations: 103.6 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5345, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002158/0.5347, allocations: 15.94 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intGre.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0006957/0.5354, allocations: 0.7982 MB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.5358, allocations: 119.9 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5358, allocations: 0 / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.536, allocations: 75.94 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.5363, allocations: 15.94 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.5382, allocations: 1.595 MB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.5384, allocations: 0.6926 MB / 1.032 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.748e-05/0.5385, allocations: 15.98 kB / 1.032 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.5386, allocations: 23.42 kB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5386, allocations: 0 / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.477/2.016, allocations: 2.274 MB / 1.034 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/2.016, allocations: 201.6 kB / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/3.877, allocations: 0 / 1.034 GB, free: 4.355 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Greater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Greater.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches