Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.01184/0.01184, allocations: 106.4 kB / 15.74 MB, free: 6.035 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.001875/0.001875, allocations: 196 kB / 16.67 MB, free: 5.969 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.61 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2928, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002097/0.2949, allocations: 0.6895 MB / 1.088 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2961, allocations: 0.8393 MB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.2962, allocations: 4 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.2962, allocations: 3.938 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.617e-05/0.2963, allocations: 7.922 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.2965, allocations: 15.98 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2966, allocations: 51.84 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2968, allocations: 15.98 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.886e-05/0.2968, allocations: 15.92 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.161e-05/0.2969, allocations: 31.91 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.297, allocations: 7.938 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.297, allocations: 4 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.297, allocations: 11.98 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.2971, allocations: 23.86 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.2972, allocations: 43.86 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2972, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2972, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.2972, allocations: 0 / 1.089 GB, free: 200 kB / 0.8419 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.0006102/0.2979, allocations: 358.3 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2979, allocations: 8.031 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.298, allocations: 30.75 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.298, allocations: 8.844 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.2982, allocations: 177.1 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.2982, allocations: 4.375 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.2982, allocations: 12.12 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.2985, allocations: 69.58 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2985, allocations: 3.938 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2985, allocations: 7.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2985, allocations: 4 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.2987, allocations: 43.95 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.2992, allocations: 288.7 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.2995, allocations: 70.47 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2996, allocations: 32.92 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.2996, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.2996, allocations: 34.55 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2996, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004249/0.3001, allocations: 101.6 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.3001, allocations: 59.34 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.3002, allocations: 109.8 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3003, allocations: 25.7 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.3003, allocations: 92.05 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.3004, allocations: 7.969 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.3004, allocations: 21.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3005, allocations: 318.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3007, allocations: 27.97 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.13e-05/0.3008, allocations: 19.98 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.301, allocations: 52.81 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.301, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002437/0.3012, allocations: 85.58 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3013, allocations: 13.25 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3013, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3013, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3014, allocations: 11.98 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3014, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.3015, allocations: 19.83 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3015, allocations: 3.938 kB / 1.091 GB, free: 13.89 MB / 0.8575 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,intGreEquThr.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.69e-05/0.3016, allocations: 110.2 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.3016, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.3017, allocations: 23.88 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3017, allocations: 3.938 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3017, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3017, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.3019, allocations: 173.6 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3019, allocations: 3.984 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.302, allocations: 11.98 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.302, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.302, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.302, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.302, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.3024, allocations: 195.2 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.3024, allocations: 81.11 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.3024, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.3025, allocations: 7.984 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.3026, allocations: 11.98 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.3026, allocations: 4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.259e-05/0.3027, allocations: 91.22 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3027, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002206/0.3029, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 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 (intGreEquThr.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.0005942/0.3035, allocations: 0.724 MB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.3038, allocations: 51.95 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3038, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.3039, allocations: 31.97 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.3042, allocations: 11.94 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3058, allocations: 1.324 MB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3061, allocations: 0.6846 MB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.712e-05/0.3061, allocations: 7.984 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.3062, allocations: 19.44 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.3062, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.3271, allocations: 1.877 MB / 1.097 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/7.861, allocations: 9.438 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intGreEquThr.t,intGreEquThr.u,intGreEquThr.y Variables in the result:intGreEquThr.t,intGreEquThr.u,intGreEquThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time