Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",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.001748/0.001748, 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.002358/0.002358, allocations: 198 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.758/2.758, allocations: 390.3 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 64.03 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7636, allocations: 140.4 MB / 0.9492 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002159/0.7658, allocations: 0.8345 MB / 0.9501 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008604/0.7667, allocations: 0.8574 MB / 0.9509 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.7668, allocations: 4.969 kB / 0.9509 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.7668, allocations: 4.656 kB / 0.9509 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.089e-05/0.7669, allocations: 8.734 kB / 0.9509 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.7671, allocations: 35.06 kB / 0.951 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.7672, allocations: 87.14 kB / 0.951 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.7673, allocations: 30.47 kB / 0.9511 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.661e-05/0.7674, allocations: 32.95 kB / 0.9511 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.11e-05/0.7675, allocations: 52.08 kB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.7675, allocations: 8.656 kB / 0.9512 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.928e-05/0.7676, allocations: 8.625 kB / 0.9512 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.7676, allocations: 17.36 kB / 0.9512 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.7676, allocations: 35.14 kB / 0.9512 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.7677, allocations: 82 kB / 0.9513 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7677, allocations: 1.625 kB / 0.9513 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7678, allocations: 0 / 0.9513 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.7678, allocations: 0 / 0.9513 GB, free: 7.656 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005671/0.7683, allocations: 399 kB / 0.9517 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.7684, allocations: 9.594 kB / 0.9517 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.7684, allocations: 37.5 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.7685, allocations: 11.53 kB / 0.9517 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.7686, allocations: 185.6 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.7686, allocations: 7.125 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.7686, allocations: 4.5 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.7689, allocations: 111.5 kB / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7689, allocations: 3.984 kB / 0.952 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.769, allocations: 5.375 kB / 0.952 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.769, allocations: 1.375 kB / 0.952 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.7693, allocations: 98.98 kB / 0.9521 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.7698, allocations: 352.7 kB / 0.9525 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.7705, allocations: 119.1 kB / 0.9526 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.7707, allocations: 58.31 kB / 0.9526 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.7707, allocations: 1.625 kB / 0.9526 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.7707, allocations: 35.89 kB / 0.9527 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.7707, allocations: 0 / 0.9527 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006372/0.7714, allocations: 174.8 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.7714, allocations: 53.06 kB / 0.9529 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.7715, allocations: 129.4 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.7715, allocations: 25.7 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.7716, allocations: 99.95 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.7716, allocations: 18.34 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.7717, allocations: 31.27 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.7717, allocations: 317.6 kB / 0.9535 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.7719, allocations: 43.58 kB / 0.9535 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.7721, allocations: 48.2 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.7724, allocations: 96.42 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7724, allocations: 3.938 kB / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003848/0.7728, allocations: 143.4 kB / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7728, allocations: 6.344 kB / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.7728, allocations: 0 / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.7728, allocations: 0 / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.773, allocations: 31.19 kB / 0.9538 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.773, allocations: 1.094 kB / 0.9538 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.7731, allocations: 15.73 kB / 0.9538 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.7732, allocations: 1.688 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.329e-05/0.7732, allocations: 117.7 kB / 0.954 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.7733, allocations: 7.469 kB / 0.954 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.7733, allocations: 9.438 kB / 0.954 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.7733, allocations: 5.156 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7733, allocations: 0 / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7733, allocations: 5.438 kB / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.7735, allocations: 195.8 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7735, allocations: 0 / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.7737, allocations: 26.81 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7737, allocations: 0 / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.7737, allocations: 1.031 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7737, allocations: 1.094 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7737, allocations: 0 / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.7741, allocations: 248.4 kB / 0.9544 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.7741, allocations: 78.3 kB / 0.9545 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.7742, allocations: 9.391 kB / 0.9545 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.7743, allocations: 16.3 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.7744, allocations: 30.84 kB / 0.9546 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.7744, allocations: 1.438 kB / 0.9546 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.7745, allocations: 98.33 kB / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7745, allocations: 0 / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002436/0.7747, allocations: 23.19 kB / 0.9547 GB, free: 4.559 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intGre.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005977/0.7753, allocations: 0.7647 MB / 0.9554 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.7758, allocations: 109.3 kB / 0.9555 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7758, allocations: 5.031 kB / 0.9555 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.776, allocations: 71.19 kB / 0.9556 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.7763, allocations: 11.53 kB / 0.9556 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.7782, allocations: 1.537 MB / 0.9571 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.7783, allocations: 0.6936 MB / 0.9578 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.868e-05/0.7784, allocations: 10.12 kB / 0.9578 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.7784, allocations: 30.48 kB / 0.9578 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.7785, allocations: 0 / 0.9578 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.7904, allocations: 2.43 MB / 0.9602 GB, free: 424 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/0.7906, allocations: 210.4 kB / 0.9604 GB, free: 160 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.683, allocations: 0 / 0.9604 GB, free: 160 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Greater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Greater.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches