Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001399/0.001398, allocations: 190.9 kB / 16.25 MB, free: 6.586 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.461/2.461, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.7554, allocations: 140.4 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001932/0.7573, allocations: 0.752 MB / 0.9498 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008204/0.7582, allocations: 0.8383 MB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.7582, allocations: 0 / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.7583, allocations: 1.375 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.7584, allocations: 3.938 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.7585, allocations: 25.47 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.567e-05/0.7586, allocations: 45.78 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.7587, allocations: 10.88 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.626e-05/0.7588, allocations: 22.8 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.7588, allocations: 26.77 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.7589, allocations: 4.125 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.7589, allocations: 4.125 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.7589, allocations: 17.25 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.759, allocations: 24.05 kB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.132e-05/0.7591, allocations: 48.03 kB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.7591, allocations: 4 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7591, allocations: 0 / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.7591, allocations: 0 / 0.9509 GB, free: 7.645 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004612/0.7595, allocations: 357.9 kB / 0.9512 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.7596, allocations: 9.625 kB / 0.9512 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.7596, allocations: 3.688 kB / 0.9512 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.7597, allocations: 179 kB / 0.9514 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.7598, allocations: 9.75 kB / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.7598, allocations: 1.75 kB / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.76, allocations: 69.03 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.76, allocations: 0 / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.76, allocations: 0 / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.76, allocations: 1.375 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001971/0.7602, allocations: 51.44 kB / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.7606, allocations: 294.8 kB / 0.9518 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.7608, allocations: 64.66 kB / 0.9519 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.761, allocations: 30.92 kB / 0.9519 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.761, allocations: 7.984 kB / 0.9519 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.761, allocations: 35.86 kB / 0.952 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.761, allocations: 0 / 0.952 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004022/0.7614, allocations: 108.1 kB / 0.9521 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.7615, allocations: 52.91 kB / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.7615, allocations: 115.6 kB / 0.9522 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.7615, allocations: 25.7 kB / 0.9522 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.7616, allocations: 86.3 kB / 0.9523 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.7616, allocations: 13.19 kB / 0.9523 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.7616, allocations: 21.89 kB / 0.9524 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.7617, allocations: 316.4 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.827e-05/0.7618, allocations: 23.84 kB / 0.9527 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.044e-05/0.7619, allocations: 24.8 kB / 0.9527 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.7621, allocations: 58.16 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7621, allocations: 3.938 kB / 0.9528 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002125/0.7623, allocations: 80.61 kB / 0.9528 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7623, allocations: 5.688 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.7623, allocations: 0 / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7624, allocations: 1.156 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.7625, allocations: 15.7 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.7625, allocations: 0 / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.521e-05/0.7626, allocations: 13.67 kB / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.7626, allocations: 5.375 kB / 0.9529 GB, free: 5.688 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: 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 6.654e-05/0.7627, allocations: 112.3 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.7627, allocations: 5.188 kB / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.7627, allocations: 13.45 kB / 0.953 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7627, allocations: 0 / 0.953 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7627, allocations: 5.531 kB / 0.953 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7627, allocations: 0 / 0.953 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.7629, allocations: 172.2 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7629, allocations: 3.984 kB / 0.9532 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.763, allocations: 14.86 kB / 0.9532 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.763, allocations: 1.312 kB / 0.9532 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.763, allocations: 4 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.763, allocations: 1.219 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.763, allocations: 0 / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.7633, allocations: 183.6 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.7633, allocations: 83.52 kB / 0.9535 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.7633, allocations: 4 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.7634, allocations: 9.484 kB / 0.9535 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.7635, allocations: 11.39 kB / 0.9535 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.7635, allocations: 1.906 kB / 0.9535 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.992e-05/0.7635, allocations: 89.58 kB / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7635, allocations: 4 kB / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002207/0.7638, allocations: 6.375 kB / 0.9536 GB, free: 4.961 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: 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.0001147/0.7639, allocations: 109 kB / 0.9537 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.7642, allocations: 55.61 kB / 0.9537 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7642, allocations: 0 / 0.9537 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.7643, allocations: 34.06 kB / 0.9538 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.7646, allocations: 6.781 kB / 0.9538 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.765, allocations: 157 kB / 0.9539 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.7651, allocations: 0.6839 MB / 0.9546 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.844e-05/0.7651, allocations: 6.75 kB / 0.9546 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.7652, allocations: 15.98 kB / 0.9546 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/0.7652, allocations: 0 / 0.9546 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of Templates: time 0.002991/0.7682, allocations: 0.8016 MB / 0.9554 GB, free: 3.539 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches