Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_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.001404/0.001404, allocations: 108 kB / 15.6 MB, free: 132 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.001339/0.001339, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.517/2.517, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 72.77 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2418, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001716/0.2435, allocations: 0.7074 MB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008204/0.2444, allocations: 0.833 MB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.2444, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.2444, allocations: 7.875 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.2445, allocations: 7.938 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.2446, allocations: 27.95 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.992e-05/0.2447, allocations: 47.86 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.495e-05/0.2448, allocations: 15.98 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.359e-05/0.2449, allocations: 19.92 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.2449, allocations: 27.91 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2449, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.245, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.245, allocations: 7.984 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.245, allocations: 23.86 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.054e-05/0.2451, allocations: 43.86 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2451, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.33e-06/0.2451, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.2451, allocations: 3.938 kB / 1.066 GB, free: 12.39 MB / 0.8262 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.0004587/0.2456, allocations: 355.7 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.2456, allocations: 12.03 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.2457, allocations: 34.73 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.2457, allocations: 12.84 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.2459, allocations: 168.3 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2459, allocations: 4.375 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.2459, allocations: 384 / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.2461, allocations: 69.59 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2461, allocations: 3.984 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.2461, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.2461, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.2463, allocations: 59.88 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.2467, allocations: 296.7 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.2469, allocations: 66.47 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.247, allocations: 28.92 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.247, allocations: 4 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.247, allocations: 34.5 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.2471, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003681/0.2474, allocations: 109.6 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.2475, allocations: 51.41 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.2475, allocations: 105.8 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2476, allocations: 29.7 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.2476, allocations: 92.05 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.2476, allocations: 3.906 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.2477, allocations: 21.7 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2478, allocations: 322.8 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.2479, allocations: 23.97 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.888e-05/0.248, allocations: 27.86 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.2482, allocations: 52.81 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2482, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002245/0.2484, allocations: 85.64 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.2484, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2484, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.2485, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.2486, allocations: 15.98 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.2486, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.2486, allocations: 11.89 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.2487, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 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.993e-05/0.2487, allocations: 121.7 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.2488, allocations: 0 / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.2488, allocations: 7.906 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2488, allocations: 3.984 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2488, allocations: 0 / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2488, allocations: 4.328 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.249, allocations: 181.5 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.249, allocations: 4 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.341e-05/0.2491, allocations: 15.92 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2491, allocations: 3.984 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2491, allocations: 3.984 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2491, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2491, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.2494, allocations: 191.3 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.2495, allocations: 81.11 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2495, allocations: 0 / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.2496, allocations: 7.984 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.2496, allocations: 11.98 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2497, allocations: 0 / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.2497, allocations: 87.28 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2497, allocations: 4 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002238/0.2499, allocations: 11.94 kB / 1.069 GB, free: 9.262 MB / 0.8262 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.0005836/0.2505, allocations: 0.7163 MB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.2508, allocations: 63.89 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2508, allocations: 0 / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.2509, allocations: 31.97 kB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.2512, allocations: 4 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.2527, allocations: 1.324 MB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.2529, allocations: 0.6807 MB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.253, allocations: 4 kB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.253, allocations: 15.42 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of SimCode: time 4.999e-06/0.253, allocations: 8 kB / 1.071 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.192/1.445, allocations: 1.813 MB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/13.12, allocations: 16.81 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches