Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_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.006838/0.006838, allocations: 99.56 kB / 15.73 MB, free: 6.48 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.001855/0.001855, allocations: 193.9 kB / 16.68 MB, free: 6.363 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.647/2.647, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 72.06 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2804, allocations: 162.3 MB / 1.242 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001676/0.2821, allocations: 0.7082 MB / 1.243 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008699/0.283, allocations: 0.8273 MB / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.283, allocations: 0 / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.2831, allocations: 3.938 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.2831, allocations: 7.938 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.2833, allocations: 23.97 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.489e-05/0.2833, allocations: 43.86 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.2834, allocations: 27.95 kB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.2835, allocations: 19.92 kB / 1.243 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.2836, allocations: 19.92 kB / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.2836, allocations: 8 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.2836, allocations: 4 kB / 1.244 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.2836, allocations: 7.984 kB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.2837, allocations: 27.84 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.868e-05/0.2838, allocations: 39.81 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2838, allocations: 0 / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2838, allocations: 0 / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.2838, allocations: 4 kB / 1.244 GB, free: 8.004 MB / 0.9981 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.0004768/0.2843, allocations: 363.3 kB / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2843, allocations: 8.031 kB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.2844, allocations: 38.73 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.2844, allocations: 0.9375 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2845, allocations: 168.3 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2845, allocations: 4.375 kB / 1.244 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.2846, allocations: 8.125 kB / 1.244 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.2847, allocations: 81.52 kB / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.2848, allocations: 0 / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.2848, allocations: 0 / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2848, allocations: 0 / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.285, allocations: 55.94 kB / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.2854, allocations: 280.8 kB / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.2856, allocations: 70.52 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2857, allocations: 32.88 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.2857, allocations: 3.938 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2857, allocations: 30.56 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2858, allocations: 0 / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003875/0.2861, allocations: 109.6 kB / 1.245 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.2862, allocations: 55.39 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.2863, allocations: 117.8 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2863, allocations: 29.64 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.2864, allocations: 88.09 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.2864, allocations: 7.953 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.2864, allocations: 25.7 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2866, allocations: 314.8 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.2867, allocations: 27.97 kB / 1.245 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.931e-05/0.2868, allocations: 23.98 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.287, allocations: 52.81 kB / 1.246 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.287, allocations: 0 / 1.246 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002278/0.2872, allocations: 85.64 kB / 1.246 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2872, allocations: 4 kB / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.2872, allocations: 0 / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.2872, allocations: 0 / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2873, allocations: 19.92 kB / 1.246 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2874, allocations: 0 / 1.246 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.2874, allocations: 11.94 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.2875, allocations: 8.266 kB / 1.246 GB, free: 5.688 MB / 0.9981 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 7.26e-05/0.2875, allocations: 110.4 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.2876, allocations: 11.98 kB / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.2876, allocations: 7.844 kB / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.2876, allocations: 0 / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2876, allocations: 0 / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2876, allocations: 0 / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.2878, allocations: 181.6 kB / 1.246 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2878, allocations: 0 / 1.246 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-05/0.2879, allocations: 15.98 kB / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2879, allocations: 4 kB / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2879, allocations: 0 / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2879, allocations: 0 / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.2879, allocations: 7.984 kB / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.2882, allocations: 183.3 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.2883, allocations: 81.09 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.2883, allocations: 0 / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.2884, allocations: 11.98 kB / 1.246 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.2884, allocations: 8 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.2884, allocations: 7.984 kB / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.2885, allocations: 91.16 kB / 1.246 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2885, allocations: 0 / 1.246 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002045/0.2887, allocations: 11.94 kB / 1.246 GB, free: 4.871 MB / 0.9981 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.0005686/0.2893, allocations: 0.7241 MB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.2895, allocations: 55.94 kB / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2895, allocations: 0 / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2896, allocations: 27.97 kB / 1.247 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.2899, allocations: 13.41 kB / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.2913, allocations: 1.319 MB / 1.248 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.2916, allocations: 0.6845 MB / 1.249 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.2917, allocations: 8 kB / 1.249 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.2917, allocations: 19.42 kB / 1.249 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.2917, allocations: 0 / 1.249 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.743/3.035, allocations: 1.866 MB / 1.251 GB, free: 168 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.06/23.1, allocations: 8.016 kB / 1.251 GB, free: 164 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches