Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,fileNamePrefix="Buildings_latest_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.001111/0.001111, 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.001346/0.001346, allocations: 190.9 kB / 16.25 MB, free: 6.629 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 64.22 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3244, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.001953/0.3264, allocations: 0.8287 MB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009611/0.3273, allocations: 0.8857 MB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.3274, allocations: 0 / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.3274, allocations: 3.938 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.148e-05/0.3275, allocations: 7.922 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.3277, allocations: 31.97 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3278, allocations: 79.83 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3279, allocations: 27.92 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.649e-05/0.328, allocations: 43.84 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.25e-05/0.3281, allocations: 47.81 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.3282, allocations: 8 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.3282, allocations: 11.94 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.3282, allocations: 19.92 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.3283, allocations: 47.77 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.3284, allocations: 75.73 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3284, allocations: 0 / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3284, allocations: 4 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3284, allocations: 0 / 1.054 GB, free: 6.484 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006127/0.329, allocations: 403.5 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3291, allocations: 8.625 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.3291, allocations: 38.75 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.3292, allocations: 4.844 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3293, allocations: 184.2 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3294, allocations: 384 / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.3294, allocations: 12.38 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.3297, allocations: 109.5 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3297, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3297, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3297, allocations: 4 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.3301, allocations: 103.9 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.3307, allocations: 344.6 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.3313, allocations: 122.6 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.3315, allocations: 56.75 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3315, allocations: 0 / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.3315, allocations: 34.56 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3315, allocations: 0 / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006439/0.3322, allocations: 185.4 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.3323, allocations: 51.41 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.3324, allocations: 129.7 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.3324, allocations: 29.7 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.3325, allocations: 95.98 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.3325, allocations: 15.81 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.3325, allocations: 25.7 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3326, allocations: 318.8 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.3328, allocations: 51.88 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.333, allocations: 43.95 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.3334, allocations: 100.8 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3334, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004013/0.3338, allocations: 129.5 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3338, allocations: 5.406 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3338, allocations: 0 / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3338, allocations: 4 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3341, allocations: 27.91 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3341, allocations: 3.938 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.3342, allocations: 23.91 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3342, allocations: 4 kB / 1.057 GB, free: 3.637 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: 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 9.492e-05/0.3343, allocations: 113.8 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.3344, allocations: 3.906 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.3344, allocations: 20.36 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3344, allocations: 0 / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3344, allocations: 0 / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3344, allocations: 3.938 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3346, allocations: 201.5 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3347, allocations: 0 / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.3348, allocations: 23.97 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3348, allocations: 0 / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.3349, allocations: 7.984 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3349, allocations: 0 / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3349, allocations: 4 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.3353, allocations: 243.2 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.3354, allocations: 85.02 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3354, allocations: 0 / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.3356, allocations: 19.98 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.3357, allocations: 27.91 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3357, allocations: 0 / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.633e-05/0.3358, allocations: 95.27 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3358, allocations: 0 / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002491/0.336, allocations: 12 kB / 1.058 GB, free: 2.699 MB / 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: 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.0007757/0.3368, allocations: 0.7709 MB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004032/0.3372, allocations: 104.6 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3373, allocations: 4 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.3374, allocations: 67.88 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.3377, allocations: 8.25 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.3398, allocations: 1.544 MB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3401, allocations: 0.6963 MB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.541e-05/0.3402, allocations: 4 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.168e-05/0.3403, allocations: 39.59 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3403, allocations: 0 / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.58/3.921, allocations: 2.429 MB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/3.921, allocations: 206.7 kB / 1.064 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/6.588, allocations: 4.062 kB / 1.064 GB, free: 12.78 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches