Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.00136/0.00136, 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.001423/0.001423, 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.687/2.687, allocations: 469.8 MB / 0.7424 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 69.81 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2494, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001839/0.2513, allocations: 0.8303 MB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009011/0.2522, allocations: 0.872 MB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.2523, allocations: 3.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.628e-05/0.2524, allocations: 11.88 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.378e-05/0.2524, allocations: 15.86 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.2526, allocations: 23.97 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.2527, allocations: 71.78 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2528, allocations: 35.92 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.011e-05/0.2529, allocations: 31.91 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.2529, allocations: 23.84 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.253, allocations: 8 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.253, allocations: 4 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.253, allocations: 19.94 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.253, allocations: 31.73 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.2532, allocations: 83.95 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2532, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2532, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2532, allocations: 0 / 1.066 GB, free: 12.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004876/0.2537, allocations: 387.2 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2537, allocations: 12.03 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.2537, allocations: 30.75 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.2538, allocations: 12.84 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.254, allocations: 205.3 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-06/0.254, allocations: 384 / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.254, allocations: 4.375 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.2542, allocations: 74.05 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2542, allocations: 3.938 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.2542, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2542, allocations: 0 / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.2543, allocations: 35.97 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.2547, allocations: 320.7 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.2549, allocations: 42.55 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.255, allocations: 20.92 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.255, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.255, allocations: 46.67 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.255, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002215/0.2552, allocations: 69.58 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2553, allocations: 51.41 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2554, allocations: 139.2 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.2554, allocations: 25.7 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.2555, allocations: 104 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.2555, allocations: 7.906 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.2555, allocations: 13.72 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2557, allocations: 326.8 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.999e-05/0.2557, allocations: 15.98 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.2558, allocations: 12 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.012e-05/0.2559, allocations: 36.78 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2559, allocations: 0 / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000133/0.256, allocations: 69.58 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.256, allocations: 4 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.256, allocations: 0 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.256, allocations: 336 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/0.2561, allocations: 11.98 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.2561, allocations: 0 / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.2562, allocations: 15.98 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2562, allocations: 3.938 kB / 1.068 GB, free: 9.867 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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 8.158e-05/0.2563, allocations: 113.8 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.2563, allocations: 15.83 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.2563, allocations: 8.25 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2564, allocations: 4 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2564, allocations: 0 / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.2564, allocations: 3.938 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.2565, allocations: 181.6 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2566, allocations: 4 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.2566, allocations: 7.984 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.2566, allocations: 3.938 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.2566, allocations: 0 / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2566, allocations: 0 / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2566, allocations: 0 / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.2568, allocations: 159.4 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.2569, allocations: 89.02 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.2569, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.257, allocations: 11.98 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.257, allocations: 11.98 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.257, allocations: 3.938 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.081e-05/0.2571, allocations: 108.9 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2571, allocations: 0 / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002031/0.2573, allocations: 11.94 kB / 1.069 GB, free: 9.047 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004749/0.2578, allocations: 0.6929 MB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.2579, allocations: 39.91 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.258, allocations: 0 / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.258, allocations: 12 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.2583, allocations: 15.98 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.2595, allocations: 1.375 MB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.2598, allocations: 0.6924 MB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.2599, allocations: 4.328 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.2599, allocations: 23.42 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2599, allocations: 4 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.434/1.694, allocations: 1.965 MB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.7, allocations: 7.297 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches