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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001186/0.001186, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.366/2.366, allocations: 437 MB / 0.7099 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001555, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5874/0.589, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001618/0.5906, allocations: 0.7737 MB / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006783/0.5913, allocations: 0.8312 MB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.5914, allocations: 8 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.5914, allocations: 0 / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.867e-05/0.5914, allocations: 3.938 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.158e-05/0.5915, allocations: 19.98 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.201e-05/0.5916, allocations: 51.83 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/0.5916, allocations: 8 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.335e-05/0.5917, allocations: 15.98 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.5917, allocations: 31.84 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.5917, allocations: 4 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.5917, allocations: 4 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.5918, allocations: 11.97 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.5918, allocations: 15.88 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.241e-05/0.5918, allocations: 43.84 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.5919, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.71e-07/0.5919, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.514e-06/0.5919, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 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.000366/0.5922, allocations: 369.6 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.5923, allocations: 12.03 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.426e-05/0.5923, allocations: 30.75 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.82e-05/0.5923, allocations: 4.938 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.829e-05/0.5924, allocations: 172.2 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.5924, allocations: 4.375 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.5924, allocations: 8.359 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.5926, allocations: 73.58 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-06/0.5926, allocations: 0 / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.5926, allocations: 4 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-06/0.5926, allocations: 0 / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.5928, allocations: 47.95 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.5931, allocations: 296.7 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.5933, allocations: 62.55 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.5934, allocations: 36.91 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.5934, allocations: 80 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.5935, allocations: 30.56 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.5935, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003383/0.5938, allocations: 109.6 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.5938, allocations: 59.28 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.5939, allocations: 113.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.5939, allocations: 25.7 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.594, allocations: 92.12 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.594, allocations: 11.75 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.594, allocations: 17.72 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.202e-05/0.5941, allocations: 322.8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.409e-05/0.5942, allocations: 23.98 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.5943, allocations: 23.97 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.5945, allocations: 52.81 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5945, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002161/0.5947, allocations: 85.59 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.5947, allocations: 7.984 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.5947, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.5947, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.5948, allocations: 11.98 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.5949, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.5949, allocations: 7.984 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.595, allocations: 4 kB / 1.021 GB, free: 14.65 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 7.896e-05/0.595, allocations: 114.3 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.5951, allocations: 11.91 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.5951, allocations: 8.234 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5951, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.5951, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5951, allocations: 3.984 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.5953, allocations: 177.6 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5953, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-05/0.5954, allocations: 15.92 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5954, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.5954, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5954, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5954, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.5956, allocations: 183.4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.5957, allocations: 88.95 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.5957, allocations: 3.984 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.856e-05/0.5958, allocations: 8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.5959, allocations: 15.98 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.5959, allocations: 7.984 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.5959, allocations: 79.28 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5959, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000202/0.5961, allocations: 15.94 kB / 1.021 GB, free: 13.83 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.0004678/0.5966, allocations: 0.7202 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.5968, allocations: 51.95 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5968, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.5969, allocations: 31.91 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.5971, allocations: 7.938 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.5984, allocations: 1.338 MB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.5986, allocations: 0.6809 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.5986, allocations: 8 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.5986, allocations: 15.42 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5987, allocations: 4 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.6146, allocations: 1.6 MB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.6148, allocations: 217.1 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.221, allocations: 1.688 kB / 1.026 GB, free: 9.098 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