Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_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.007966/0.007966, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001873/0.001873, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.752/2.752, allocations: 469.4 MB / 0.7422 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 59.91 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2789, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001811/0.2808, allocations: 0.7134 MB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.2817, allocations: 0.8273 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.2818, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.2818, allocations: 3.938 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.2819, allocations: 11.92 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.282, allocations: 27.97 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.997e-05/0.2821, allocations: 47.84 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.2822, allocations: 12 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.2823, allocations: 19.97 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.984e-05/0.2824, allocations: 27.84 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2824, allocations: 4 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.2824, allocations: 4 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.2824, allocations: 12 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.2825, allocations: 19.86 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.76e-05/0.2826, allocations: 51.8 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2826, allocations: 0 / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2826, allocations: 0 / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2826, allocations: 3.984 kB / 1.222 GB, free: 12.83 MB / 0.9825 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.0004844/0.2831, allocations: 359.3 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2831, allocations: 8.031 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.2832, allocations: 38.75 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.2832, allocations: 4.891 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.2833, allocations: 168.4 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2834, allocations: 384 / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.2834, allocations: 8.125 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.2836, allocations: 69.64 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2836, allocations: 11.86 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.2836, allocations: 4 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2836, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.2838, allocations: 59.88 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.2843, allocations: 284.8 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.2845, allocations: 70.5 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.2846, allocations: 28.88 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.2846, allocations: 0 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2846, allocations: 34.56 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.2846, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004098/0.2851, allocations: 109.6 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2851, allocations: 51.41 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.2852, allocations: 113.8 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2852, allocations: 29.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.2853, allocations: 92.03 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.2853, allocations: 11.95 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.2853, allocations: 17.7 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2855, allocations: 318.8 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.2856, allocations: 23.97 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/0.2857, allocations: 23.97 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.2859, allocations: 52.83 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2859, allocations: 0 / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002454/0.2861, allocations: 89.59 kB / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2862, allocations: 4 kB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2862, allocations: 0 / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2862, allocations: 0 / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2863, allocations: 15.92 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2863, allocations: 4 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.507e-05/0.2864, allocations: 15.98 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.2864, allocations: 3.938 kB / 1.224 GB, free: 10.52 MB / 0.9825 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.476e-05/0.2865, allocations: 114.4 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.2866, allocations: 3.984 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.2866, allocations: 7.906 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2866, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2866, allocations: 4 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2866, allocations: 0 / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.2868, allocations: 189.5 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2868, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.2869, allocations: 11.98 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2869, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.2869, allocations: 4 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2869, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2869, allocations: 3.938 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.2872, allocations: 187.4 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.2873, allocations: 81.06 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.2873, allocations: 0 / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.2874, allocations: 15.98 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.2875, allocations: 11.98 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.2875, allocations: 0 / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.599e-05/0.2875, allocations: 87.2 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2875, allocations: 4 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002301/0.2878, allocations: 15.94 kB / 1.224 GB, free: 9.688 MB / 0.9825 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.0005584/0.2883, allocations: 0.7128 MB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.2886, allocations: 59.94 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2886, allocations: 0 / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.2887, allocations: 35.97 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.289, allocations: 3.984 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.2905, allocations: 1.321 MB / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.2908, allocations: 0.6885 MB / 1.227 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.2908, allocations: 7.938 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.2909, allocations: 23.42 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2909, allocations: 3.938 kB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.3075, allocations: 1.845 MB / 1.229 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/7.68, allocations: 4.562 kB / 1.229 GB, free: 4.992 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches