Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_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.001126/0.001126, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008488/0.008488, allocations: 169 kB / 16.26 MB, free: 6.652 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003331, allocations: 10.81 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2513, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.000761/0.252, allocations: 0.5468 MB / 1.059 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008405/0.2529, allocations: 0.8702 MB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.253, allocations: 7.938 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.702e-05/0.253, allocations: 7.938 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.005e-05/0.2531, allocations: 11.92 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.808e-05/0.2532, allocations: 23.91 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.2533, allocations: 63.84 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.538e-05/0.2534, allocations: 35.92 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.2534, allocations: 19.92 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.2535, allocations: 27.78 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2535, allocations: 4 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-06/0.2535, allocations: 0 / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.2535, allocations: 11.94 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.2536, allocations: 49.5 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.643e-05/0.2537, allocations: 71.95 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.2537, allocations: 0 / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2537, allocations: 4 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.2537, allocations: 0 / 1.061 GB, free: 3.074 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003768/0.2541, allocations: 375.3 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.2541, allocations: 15.97 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.626e-05/0.2541, allocations: 34.75 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.2542, allocations: 12.84 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2543, allocations: 200.1 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.2543, allocations: 8.375 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2543, allocations: 8.312 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.2545, allocations: 66.17 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.2545, allocations: 3.938 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.2545, allocations: 4 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-06/0.2545, allocations: 0 / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.2546, allocations: 47.91 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.255, allocations: 320.6 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.2551, allocations: 54.55 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.2552, allocations: 29.03 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.2552, allocations: 0 / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.2552, allocations: 34.56 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.2552, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002065/0.2555, allocations: 73.67 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.2555, allocations: 51.41 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.2556, allocations: 139.3 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2556, allocations: 29.7 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.2557, allocations: 104.1 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.2557, allocations: 3.906 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.2557, allocations: 13.72 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.765e-05/0.2558, allocations: 322.8 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.2558, allocations: 23.92 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.2559, allocations: 12 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.256, allocations: 37.12 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.256, allocations: 4 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.2561, allocations: 73.56 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.2561, allocations: 4 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.2561, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/0.2562, allocations: 4 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.2562, allocations: 7.984 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2562, allocations: 7.938 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.2563, allocations: 11.98 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.2563, allocations: 7.938 kB / 1.063 GB, free: 0.7383 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 (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 6.689e-05/0.2564, allocations: 113.8 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.2564, allocations: 3.906 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.2564, allocations: 12.25 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2565, allocations: 0 / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2565, allocations: 4 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-06/0.2565, allocations: 3.938 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.2566, allocations: 181.6 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2566, allocations: 4 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-05/0.2567, allocations: 7.984 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2567, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.2567, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2567, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2567, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.2569, allocations: 171.3 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.2569, allocations: 85.02 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.2569, allocations: 3.938 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.257, allocations: 15.98 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.2571, allocations: 11.98 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2571, allocations: 7.984 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.221e-05/0.2571, allocations: 109.2 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2572, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002069/0.2574, allocations: 11.94 kB / 1.063 GB, free: 15.91 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.0003734/0.2577, allocations: 0.6929 MB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.2579, allocations: 43.91 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2579, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.055e-05/0.2579, allocations: 16 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.2582, allocations: 17.47 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2593, allocations: 1.408 MB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.2595, allocations: 0.7004 MB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.2595, allocations: 7.922 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.2596, allocations: 23.44 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2596, allocations: 0 / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.577/1.836, allocations: 1.664 MB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/1.837, allocations: 219.5 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/3.344, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches