Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_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.006749/0.006749, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001768/0.001768, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.44/2.44, allocations: 437.1 MB / 0.7106 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2633, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001834/0.2652, allocations: 0.713 MB / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009333/0.2661, allocations: 0.8393 MB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.2661, allocations: 0 / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.2662, allocations: 3.938 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.2663, allocations: 15.94 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.2664, allocations: 19.92 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.2665, allocations: 39.95 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2666, allocations: 15.98 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.242e-05/0.2667, allocations: 27.86 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.2667, allocations: 15.92 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.2667, allocations: 7.984 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.2668, allocations: 12 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.2668, allocations: 11.92 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.2668, allocations: 15.94 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.2669, allocations: 56 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2669, allocations: 0 / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2669, allocations: 0 / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2669, allocations: 0 / 1.168 GB, free: 5.496 MB / 0.92 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.0004983/0.2675, allocations: 355.3 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2675, allocations: 12.03 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.2675, allocations: 38.75 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.2676, allocations: 8.922 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.2677, allocations: 172.2 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2677, allocations: 4.375 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.2678, allocations: 4.125 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.2679, allocations: 65.66 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.268, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.268, allocations: 7.938 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.268, allocations: 0 / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.2682, allocations: 55.94 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.2687, allocations: 296.7 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.2689, allocations: 62.53 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.269, allocations: 28.92 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.269, allocations: 4 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.269, allocations: 30.56 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.061e-06/0.269, allocations: 0 / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004023/0.2694, allocations: 117.7 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.2695, allocations: 51.41 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.2696, allocations: 109.8 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.2696, allocations: 29.7 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.2697, allocations: 88.09 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.2697, allocations: 7.953 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.2697, allocations: 17.7 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2698, allocations: 326.7 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.27, allocations: 23.97 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.464e-05/0.2701, allocations: 23.98 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.2702, allocations: 48.81 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2703, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002404/0.2705, allocations: 93.53 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2705, allocations: 4 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2705, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2705, allocations: 4 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2707, allocations: 15.98 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.2707, allocations: 320 / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.27e-05/0.2708, allocations: 7.984 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2708, allocations: 3.938 kB / 1.17 GB, free: 3.188 MB / 0.92 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 8.295e-05/0.2709, allocations: 119.8 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.2709, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.2709, allocations: 11.91 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2709, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2709, allocations: 7.984 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2709, allocations: 0 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.2711, allocations: 173.6 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2711, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.2712, allocations: 19.92 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2712, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2712, allocations: 3.984 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2713, allocations: 3.984 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2713, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.2716, allocations: 191.3 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.2716, allocations: 81.11 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.2716, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2717, allocations: 7.984 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.2718, allocations: 11.98 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.2718, allocations: 0 / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.2719, allocations: 91.22 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2719, allocations: 4 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002214/0.2721, allocations: 11.95 kB / 1.171 GB, free: 2.363 MB / 0.92 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.0005999/0.2727, allocations: 0.7165 MB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.273, allocations: 63.92 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.273, allocations: 0 / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.2731, allocations: 35.91 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.2734, allocations: 4 kB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.2749, allocations: 1.319 MB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.2752, allocations: 0.6807 MB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.209e-05/0.2753, allocations: 7.984 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.2753, allocations: 19.44 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2753, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8831/1.158, allocations: 1.85 MB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.45, allocations: 10.47 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches