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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001246/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001279/0.001279, allocations: 193.9 kB / 16.14 MB, free: 6.719 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.247/1.247, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.491/2.491, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.001141, allocations: 65.31 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2329, allocations: 157.4 MB / 1.052 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001797/0.2347, allocations: 0.772 MB / 1.053 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008257/0.2355, allocations: 0.839 MB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.2356, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.2356, allocations: 7.938 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.2357, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.2358, allocations: 27.91 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.993e-05/0.2359, allocations: 39.97 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.236, allocations: 12 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.236, allocations: 23.86 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.2361, allocations: 23.89 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.2361, allocations: 4 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.2362, allocations: 4 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.2362, allocations: 11.94 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.2362, allocations: 15.92 kB / 1.054 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.258e-05/0.2363, allocations: 43.86 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2363, allocations: 0 / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.92e-07/0.2363, allocations: 3.938 kB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.2363, allocations: 0 / 1.054 GB, free: 6.316 MB / 0.8106 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.0004424/0.2368, allocations: 355.7 kB / 1.054 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2368, allocations: 11.97 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.2368, allocations: 38.73 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.2369, allocations: 8.844 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.237, allocations: 168.3 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.237, allocations: 4.375 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.237, allocations: 8.312 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.2372, allocations: 65.59 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.2372, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2372, allocations: 4 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.2372, allocations: 0 / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.2374, allocations: 59.92 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.2378, allocations: 288.7 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.238, allocations: 70.41 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.932e-05/0.2381, allocations: 36.92 kB / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.2381, allocations: 0 / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.2381, allocations: 34.56 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2382, allocations: 0 / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003694/0.2385, allocations: 109.5 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2386, allocations: 55.41 kB / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.2386, allocations: 113.8 kB / 1.055 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2387, allocations: 25.7 kB / 1.055 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.2387, allocations: 88.05 kB / 1.055 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.2387, allocations: 7.906 kB / 1.055 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.2388, allocations: 21.7 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.2389, allocations: 314.8 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.239, allocations: 23.97 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.621e-05/0.2391, allocations: 23.98 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.2392, allocations: 56.81 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2393, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000214/0.2395, allocations: 81.58 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2395, allocations: 11.94 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2395, allocations: 0 / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2395, allocations: 4 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.2396, allocations: 11.98 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2396, allocations: 0 / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.2397, allocations: 11.98 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2397, allocations: 4 kB / 1.056 GB, free: 4.008 MB / 0.8106 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.14e-05/0.2398, allocations: 109.8 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.2398, allocations: 7.906 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.2399, allocations: 7.906 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2399, allocations: 4 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2399, allocations: 0 / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2399, allocations: 3.984 kB / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.2401, allocations: 177.5 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2401, allocations: 0 / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.2401, allocations: 11.98 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2402, allocations: 0 / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2402, allocations: 4.328 kB / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.2402, allocations: 3.984 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2402, allocations: 3.938 kB / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.2404, allocations: 195.3 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.2405, allocations: 77.11 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2405, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.2406, allocations: 7.984 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.2407, allocations: 15.92 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.2407, allocations: 4 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.2407, allocations: 83.28 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2407, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002114/0.2409, allocations: 15.94 kB / 1.057 GB, free: 3.191 MB / 0.8106 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.0004899/0.2414, allocations: 0.7162 MB / 1.057 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.2416, allocations: 59.95 kB / 1.057 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2417, allocations: 0 / 1.057 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.2418, allocations: 31.91 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.242, allocations: 4 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.2433, allocations: 1.332 MB / 1.059 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.2435, allocations: 0.6809 MB / 1.059 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.399e-05/0.2436, allocations: 8 kB / 1.059 GB, free: 232 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.2436, allocations: 15.42 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2436, allocations: 4 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08354/0.3272, allocations: 1.613 MB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.3274, allocations: 222.3 kB / 1.061 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2, allocations: 0 / 1.061 GB, free: 14.5 MB / 0.8262 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=50 --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