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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008875/0.0008875, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.54/2.54, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 12 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7678/0.7682, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.000894/0.7691, allocations: 432.8 kB / 0.9561 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008424/0.77, allocations: 0.8323 MB / 0.9569 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.77, allocations: 0 / 0.9569 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.7701, allocations: 3.938 kB / 0.9569 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.7701, allocations: 8.891 kB / 0.957 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.7703, allocations: 17.58 kB / 0.957 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.629e-05/0.7704, allocations: 41.53 kB / 0.957 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.7705, allocations: 13.09 kB / 0.957 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.7706, allocations: 23.05 kB / 0.957 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.086e-05/0.7707, allocations: 22.72 kB / 0.9571 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.7707, allocations: 1.344 kB / 0.9571 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.7707, allocations: 2.344 kB / 0.9571 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.7707, allocations: 12.95 kB / 0.9571 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.7708, allocations: 40.81 kB / 0.9571 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.292e-05/0.7709, allocations: 30.61 kB / 0.9571 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7709, allocations: 0 / 0.9571 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.755e-06/0.7709, allocations: 5.125 kB / 0.9572 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.7709, allocations: 0 / 0.9572 GB, free: 6.469 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.0004753/0.7714, allocations: 354.9 kB / 0.9575 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7714, allocations: 13.03 kB / 0.9575 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.7715, allocations: 8.281 kB / 0.9575 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.7716, allocations: 162.9 kB / 0.9577 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.7716, allocations: 5.438 kB / 0.9577 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.7716, allocations: 10.48 kB / 0.9577 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.7718, allocations: 78.77 kB / 0.9578 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.7718, allocations: 4 kB / 0.9578 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.7718, allocations: 1.156 kB / 0.9578 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7719, allocations: 1.125 kB / 0.9578 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.7721, allocations: 63.67 kB / 0.9578 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.7725, allocations: 292.5 kB / 0.9581 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.7727, allocations: 72.89 kB / 0.9582 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.7728, allocations: 38.91 kB / 0.9582 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.7728, allocations: 1.062 kB / 0.9582 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.7729, allocations: 31.69 kB / 0.9582 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.7729, allocations: 0 / 0.9582 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004277/0.7733, allocations: 124.1 kB / 0.9584 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.7733, allocations: 51.41 kB / 0.9584 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.7734, allocations: 123.1 kB / 0.9585 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.7734, allocations: 26.89 kB / 0.9586 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.7735, allocations: 85.39 kB / 0.9586 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.7735, allocations: 14.2 kB / 0.9586 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.7735, allocations: 14.91 kB / 0.9587 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.7736, allocations: 316.1 kB / 0.959 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.7737, allocations: 29.41 kB / 0.959 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-05/0.7738, allocations: 29.55 kB / 0.959 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.774, allocations: 68.39 kB / 0.9591 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.774, allocations: 7.938 kB / 0.9591 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002383/0.7743, allocations: 94.67 kB / 0.9592 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7743, allocations: 5.125 kB / 0.9592 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.7743, allocations: 0 / 0.9592 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.7743, allocations: 1.062 kB / 0.9592 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.7744, allocations: 21.64 kB / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.7745, allocations: 5.969 kB / 0.9592 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.7745, allocations: 11.42 kB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.7746, allocations: 0 / 0.9592 GB, free: 4.504 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 5.933e-05/0.7746, allocations: 117.6 kB / 0.9593 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.7747, allocations: 2.031 kB / 0.9593 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.7747, allocations: 11.89 kB / 0.9594 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7747, allocations: 6 kB / 0.9594 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7747, allocations: 0 / 0.9594 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.7747, allocations: 0 / 0.9594 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.7748, allocations: 170.9 kB / 0.9595 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7749, allocations: 5.516 kB / 0.9595 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.418e-05/0.7749, allocations: 13.55 kB / 0.9595 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.775, allocations: 0 / 0.9595 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.775, allocations: 1.281 kB / 0.9595 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.775, allocations: 0 / 0.9595 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.775, allocations: 0.8438 kB / 0.9595 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.7752, allocations: 201.3 kB / 0.9597 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.7753, allocations: 78.58 kB / 0.9598 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.7753, allocations: 5.375 kB / 0.9598 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.7754, allocations: 15.17 kB / 0.9598 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.7755, allocations: 7.797 kB / 0.9598 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.7755, allocations: 6.219 kB / 0.9598 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.139e-05/0.7755, allocations: 84.14 kB / 0.9599 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7755, allocations: 0 / 0.9599 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002144/0.7758, allocations: 10.41 kB / 0.9599 GB, free: 3.781 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.0001099/0.7759, allocations: 101.5 kB / 0.96 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.7761, allocations: 68.67 kB / 0.9601 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7761, allocations: 0 / 0.9601 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.7763, allocations: 39.34 kB / 0.9601 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.7765, allocations: 7.156 kB / 0.9601 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.7769, allocations: 171.3 kB / 0.9603 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.777, allocations: 0.6807 MB / 0.961 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.777, allocations: 10.03 kB / 0.961 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.777, allocations: 0 / 0.961 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of Templates: time 0.002077/0.7791, allocations: 0.8094 MB / 0.9618 GB, free: 2.352 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/jenkins1/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