Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_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.0009271/0.0009271, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006282/0.006282, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.481/2.481, allocations: 462.7 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003125, allocations: 7.938 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2306, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.0006831/0.2314, allocations: 447.5 kB / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007724/0.2321, allocations: 0.8313 MB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.2322, allocations: 0 / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.2322, allocations: 0 / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.2323, allocations: 11.91 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.158e-05/0.2324, allocations: 19.98 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.24e-05/0.2324, allocations: 43.86 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.095e-05/0.2325, allocations: 15.97 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.2325, allocations: 19.92 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.853e-05/0.2326, allocations: 23.91 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2326, allocations: 0 / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.2326, allocations: 4 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.2327, allocations: 8 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.2327, allocations: 45.56 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.996e-05/0.2328, allocations: 47.78 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2328, allocations: 0 / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2328, allocations: 0 / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.836e-06/0.2328, allocations: 0 / 1.06 GB, free: 3.402 MB / 0.8106 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.0003772/0.2332, allocations: 351.7 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.2332, allocations: 15.91 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.2332, allocations: 42.75 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.669e-05/0.2332, allocations: 0.9375 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2334, allocations: 172.2 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-06/0.2334, allocations: 4.375 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.2334, allocations: 8.359 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.2336, allocations: 73.59 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-06/0.2336, allocations: 0 / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.2336, allocations: 4 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-06/0.2336, allocations: 0 / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.2338, allocations: 63.89 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.2341, allocations: 288.8 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.2343, allocations: 70.56 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.2344, allocations: 40.81 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.2344, allocations: 7.938 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2345, allocations: 34.56 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2345, allocations: 0 / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003727/0.2349, allocations: 125.5 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.2349, allocations: 51.41 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.235, allocations: 109.8 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.235, allocations: 25.7 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.235, allocations: 84.14 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.235, allocations: 11.81 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.2351, allocations: 17.7 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.2352, allocations: 318.8 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.891e-05/0.2353, allocations: 35.91 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.984e-05/0.2354, allocations: 23.98 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.2356, allocations: 68.81 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2356, allocations: 0 / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002283/0.2358, allocations: 93.64 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.2358, allocations: 4 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2358, allocations: 4 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-06/0.2358, allocations: 0 / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.2359, allocations: 11.98 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.236, allocations: 3.938 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.236, allocations: 11.98 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.236, allocations: 0 / 1.062 GB, free: 1.035 MB / 0.8106 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 6.717e-05/0.2361, allocations: 122.1 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.2361, allocations: 7.906 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.2362, allocations: 11.89 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2362, allocations: 0 / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2362, allocations: 0 / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2362, allocations: 7.922 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.2363, allocations: 177.5 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2363, allocations: 0 / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/0.2364, allocations: 15.98 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2364, allocations: 4 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.2365, allocations: 7.922 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2365, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2365, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.2367, allocations: 199.4 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.2368, allocations: 85.02 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.2368, allocations: 0 / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2369, allocations: 15.98 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.237, allocations: 11.98 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.237, allocations: 0 / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.237, allocations: 83.36 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.237, allocations: 4 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002024/0.2372, allocations: 11.94 kB / 1.063 GB, free: 192 kB / 0.8106 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.0005045/0.2377, allocations: 0.7242 MB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.2379, allocations: 63.89 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.238, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.2381, allocations: 43.97 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.2383, allocations: 7.984 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.2396, allocations: 1.357 MB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.2398, allocations: 0.6848 MB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.2399, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.2399, allocations: 19.42 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2399, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9111/1.151, allocations: 1.546 MB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/1.151, allocations: 223.8 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.778, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches