Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_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.001524/0.001524, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 193.1 kB / 16.67 MB, free: 6.539 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.515/2.515, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 67.91 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2518, allocations: 162.3 MB / 1.242 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001573/0.2534, allocations: 0.7015 MB / 1.243 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.2543, allocations: 0.8273 MB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.2543, allocations: 0 / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.2543, allocations: 7.922 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.2544, allocations: 3.938 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.2545, allocations: 27.98 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.845e-05/0.2546, allocations: 47.84 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.2547, allocations: 12 kB / 1.243 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.2548, allocations: 19.97 kB / 1.243 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.2548, allocations: 27.84 kB / 1.243 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.2548, allocations: 4 kB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.2549, allocations: 7.938 kB / 1.244 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.2549, allocations: 11.98 kB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.2549, allocations: 27.86 kB / 1.244 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.411e-05/0.255, allocations: 39.86 kB / 1.244 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.255, allocations: 0 / 1.244 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.255, allocations: 0 / 1.244 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.255, allocations: 0 / 1.244 GB, free: 7.992 MB / 0.9981 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.00046/0.2555, allocations: 363.3 kB / 1.244 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2555, allocations: 12.03 kB / 1.244 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.2556, allocations: 30.75 kB / 1.244 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.2556, allocations: 4.938 kB / 1.244 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2557, allocations: 180.3 kB / 1.244 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2557, allocations: 4.375 kB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.2558, allocations: 8.125 kB / 1.244 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.2559, allocations: 73.58 kB / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.256, allocations: 0 / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.256, allocations: 0 / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.256, allocations: 0 / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.2562, allocations: 55.94 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.2566, allocations: 296.7 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.2568, allocations: 70.42 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.903e-05/0.2569, allocations: 28.91 kB / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.2569, allocations: 0 / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.2569, allocations: 38.56 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2569, allocations: 0 / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003772/0.2573, allocations: 105.6 kB / 1.245 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.2574, allocations: 55.34 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.2575, allocations: 109.8 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.2575, allocations: 25.7 kB / 1.245 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.2575, allocations: 100.1 kB / 1.245 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.2576, allocations: 3.953 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.2576, allocations: 17.72 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2577, allocations: 322.8 kB / 1.245 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.561e-05/0.2578, allocations: 23.98 kB / 1.245 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.838e-05/0.2579, allocations: 23.97 kB / 1.245 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.2581, allocations: 52.81 kB / 1.246 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.2581, allocations: 0 / 1.246 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002188/0.2584, allocations: 85.59 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2584, allocations: 7.984 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.2584, allocations: 0 / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.2584, allocations: 0 / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.2585, allocations: 11.98 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2585, allocations: 8 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.2586, allocations: 11.94 kB / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2586, allocations: 3.938 kB / 1.246 GB, free: 5.668 MB / 0.9981 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.855e-05/0.2587, allocations: 113.8 kB / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.2587, allocations: 336 / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.2587, allocations: 7.906 kB / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2588, allocations: 3.984 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2588, allocations: 0 / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.2588, allocations: 0 / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.259, allocations: 185.6 kB / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.259, allocations: 7.938 kB / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.259, allocations: 7.984 kB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2591, allocations: 4 kB / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.2591, allocations: 0 / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2591, allocations: 0 / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2591, allocations: 0 / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.2594, allocations: 191.3 kB / 1.246 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.2594, allocations: 81.09 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2594, allocations: 8 kB / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.2595, allocations: 4 kB / 1.246 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.2596, allocations: 15.92 kB / 1.246 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2596, allocations: 3.984 kB / 1.246 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.254e-05/0.2597, allocations: 91.22 kB / 1.246 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2597, allocations: 0 / 1.246 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000198/0.2599, allocations: 7.938 kB / 1.246 GB, free: 4.852 MB / 0.9981 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.0005739/0.2604, allocations: 0.7285 MB / 1.247 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.2607, allocations: 55.94 kB / 1.247 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2607, allocations: 0 / 1.247 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2608, allocations: 35.97 kB / 1.247 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.261, allocations: 5.875 kB / 1.247 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.2625, allocations: 1.322 MB / 1.248 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.2627, allocations: 0.6846 MB / 1.249 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.615e-05/0.2628, allocations: 4 kB / 1.249 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.2628, allocations: 19.42 kB / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of SimCode: time 1.914e-06/0.2628, allocations: 0 / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.905/2.168, allocations: 1.864 MB / 1.251 GB, free: 152 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.36/19.53, allocations: 4.609 kB / 1.251 GB, free: 148 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches