Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_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.000827/0.000827, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005395/0.005395, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 8 kB / 0.873 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.601/0.6014, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.0006534/0.602, allocations: 441.3 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007443/0.6028, allocations: 0.8234 MB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.6028, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.6028, allocations: 3.938 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.6029, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.931e-05/0.603, allocations: 27.92 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.883e-05/0.6031, allocations: 47.91 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.6031, allocations: 19.86 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.6032, allocations: 11.98 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.032e-05/0.6032, allocations: 27.84 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.6033, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.6033, allocations: 4 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.6033, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.6033, allocations: 53.55 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.435e-05/0.6034, allocations: 35.86 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.6034, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6034, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.535e-06/0.6034, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 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.0003676/0.6038, allocations: 361.7 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.6038, allocations: 8.031 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.484e-05/0.6038, allocations: 34.75 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.97e-05/0.6039, allocations: 12.84 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.604, allocations: 164.3 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.604, allocations: 4.375 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.604, allocations: 4.312 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.6042, allocations: 81.56 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-06/0.6042, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.6042, allocations: 4 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.6042, allocations: 4 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.6044, allocations: 59.95 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.6048, allocations: 292.8 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.6049, allocations: 66.48 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.6051, allocations: 36.91 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.6051, allocations: 4 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.6051, allocations: 30.56 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.6051, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003752/0.6055, allocations: 133.5 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.6055, allocations: 51.41 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.086e-05/0.6056, allocations: 109.8 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.6056, allocations: 25.7 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.6057, allocations: 88.14 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.6057, allocations: 11.83 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.6057, allocations: 17.72 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.6058, allocations: 318.8 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.6059, allocations: 27.97 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.606, allocations: 31.98 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.6062, allocations: 65.09 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6062, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002422/0.6064, allocations: 105.5 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.6065, allocations: 9.969 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.6065, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/0.6065, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.6066, allocations: 15.98 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.6066, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.689e-05/0.6067, allocations: 15.98 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.6067, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 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 6.27e-05/0.6068, allocations: 118.3 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.6068, allocations: 8 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.6068, allocations: 11.89 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6068, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.6068, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-06/0.6068, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.607, allocations: 181.6 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.607, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.6071, allocations: 11.98 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.6071, allocations: 11.98 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.6071, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.6071, allocations: 3.938 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6071, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.6074, allocations: 191.4 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.6074, allocations: 81.11 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.6075, allocations: 3.938 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.6076, allocations: 11.98 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.6076, allocations: 11.98 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.6076, allocations: 0 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.6077, allocations: 91.27 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6077, allocations: 4 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002027/0.6079, allocations: 11.84 kB / 1.027 GB, free: 11.08 MB / 0.7794 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.000482/0.6084, allocations: 0.7241 MB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.6086, allocations: 63.95 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6086, allocations: 0 / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.6087, allocations: 43.91 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.6089, allocations: 4 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.6102, allocations: 1.362 MB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.6104, allocations: 0.6848 MB / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.6105, allocations: 7.938 kB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.6105, allocations: 15.42 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6105, allocations: 0 / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.149/3.76, allocations: 1.531 MB / 1.032 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/3.76, allocations: 215.7 kB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/5.461, allocations: 4.062 kB / 1.032 GB, free: 6.402 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches