Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.001428/0.001428, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001503/0.001503, allocations: 191 kB / 16.25 MB, free: 6.625 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.18/1.18, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.269/2.269, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 64.75 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2345, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001769/0.2363, allocations: 0.7759 MB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008033/0.2371, allocations: 0.8352 MB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.2372, allocations: 0 / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.2372, allocations: 11.92 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.2373, allocations: 0 / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.2374, allocations: 19.92 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.2375, allocations: 43.92 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.2376, allocations: 19.97 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.833e-05/0.2377, allocations: 23.8 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.2377, allocations: 23.92 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2378, allocations: 8 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.2378, allocations: 4 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.2378, allocations: 7.984 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.2378, allocations: 23.86 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.093e-05/0.2379, allocations: 43.86 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2379, allocations: 4 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2379, allocations: 0 / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2379, allocations: 0 / 1.054 GB, free: 6.797 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.000458/0.2384, allocations: 351.7 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2384, allocations: 16.62 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.2385, allocations: 30.75 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.2385, allocations: 8.844 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2386, allocations: 176.3 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2387, allocations: 4.375 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.2387, allocations: 384 / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2389, allocations: 73.53 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2389, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2389, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2389, allocations: 3.984 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.2391, allocations: 55.95 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.2395, allocations: 292.7 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2397, allocations: 66.48 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.2398, allocations: 32.84 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.2398, allocations: 4 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2398, allocations: 30.56 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2399, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003719/0.2402, allocations: 105.6 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.2403, allocations: 59.34 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/0.2403, allocations: 105.8 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.2404, allocations: 25.7 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.2404, allocations: 96.03 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.2404, allocations: 3.984 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.2405, allocations: 17.72 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.2406, allocations: 326.8 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.57e-05/0.2407, allocations: 23.98 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.2408, allocations: 23.97 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.2409, allocations: 48.81 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2409, allocations: 0 / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000216/0.2412, allocations: 85.59 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2412, allocations: 8 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2412, allocations: 3.938 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2412, allocations: 7.984 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.2413, allocations: 11.98 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2414, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.2414, allocations: 4 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.2414, allocations: 3.984 kB / 1.056 GB, free: 4.5 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,intLesEquThr.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.135e-05/0.2415, allocations: 119.3 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.2416, allocations: 3.906 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.2416, allocations: 7.906 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2416, allocations: 4 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2416, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2416, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.2418, allocations: 185.5 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2418, allocations: 4 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.2419, allocations: 7.984 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2419, allocations: 8.266 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2419, allocations: 4 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2419, allocations: 0 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2419, allocations: 4 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.2422, allocations: 191.3 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.2422, allocations: 77.11 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.2422, allocations: 4 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.2423, allocations: 7.984 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.2424, allocations: 15.98 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.2424, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.047e-05/0.2425, allocations: 91.27 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2425, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002094/0.2427, allocations: 7.938 kB / 1.057 GB, free: 3.676 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 (intLesEquThr.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.0004895/0.2432, allocations: 0.724 MB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.2434, allocations: 55.94 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2434, allocations: 0 / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.2435, allocations: 39.91 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.2438, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2451, allocations: 1.331 MB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.2453, allocations: 0.6806 MB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.477e-05/0.2454, allocations: 8 kB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.2454, allocations: 19.38 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.2454, allocations: 0 / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.309/3.554, allocations: 1.66 MB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/3.555, allocations: 236.4 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/5.514, allocations: 3.125 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches