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.009296/0.009296, allocations: 104.2 kB / 15.73 MB, free: 5.992 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.001598/0.001598, allocations: 195.1 kB / 16.68 MB, free: 5.914 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.49/1.49, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.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.423/2.423, allocations: 390.2 MB / 0.6648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.91 kB / 0.9509 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9234/0.9246, allocations: 140.4 MB / 1.088 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002099/0.9268, allocations: 0.6981 MB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009559/0.9278, allocations: 0.8348 MB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.9278, allocations: 4.812 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.9279, allocations: 5.203 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.9279, allocations: 5.062 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.9281, allocations: 22.72 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.862e-05/0.9282, allocations: 53.22 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.9284, allocations: 12.56 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.104e-05/0.9284, allocations: 19 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.9285, allocations: 28.09 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.9286, allocations: 4.125 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.9286, allocations: 4.562 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.9286, allocations: 12.11 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.9286, allocations: 22.48 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.9288, allocations: 51.05 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.9288, allocations: 0 / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9288, allocations: 1.031 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.9288, allocations: 0 / 1.09 GB, free: 4.277 MB / 0.8575 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.0004929/0.9293, allocations: 355.5 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.9294, allocations: 9.516 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.9294, allocations: 7.031 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.9295, allocations: 165.1 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.9295, allocations: 6.078 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.9295, allocations: 11.5 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.9297, allocations: 68.11 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.9298, allocations: 0 / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.9298, allocations: 4 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9298, allocations: 2.016 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.93, allocations: 52.3 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.9304, allocations: 299.4 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.9306, allocations: 60.94 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.9307, allocations: 29.61 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.9308, allocations: 4.5 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.9308, allocations: 39.44 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.9308, allocations: 1.094 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004033/0.9312, allocations: 101.5 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.9312, allocations: 53.23 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.9313, allocations: 114.2 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.9313, allocations: 25.7 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.9314, allocations: 95.58 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.9314, allocations: 9.812 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.9314, allocations: 20.41 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.001e-05/0.9315, allocations: 317.3 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.9316, allocations: 23.3 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.943e-05/0.9317, allocations: 31.5 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.9319, allocations: 57.52 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.9319, allocations: 0 / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002236/0.9321, allocations: 84.22 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9321, allocations: 4.875 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.9322, allocations: 0 / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9322, allocations: 1.156 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.9323, allocations: 12.84 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.9323, allocations: 0 / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.9324, allocations: 16.61 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.9324, allocations: 6.406 kB / 1.092 GB, free: 2.477 MB / 0.8575 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.237e-05/0.9325, allocations: 116.5 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.9325, allocations: 1.656 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.9325, allocations: 9.969 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.9326, allocations: 1.828 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9326, allocations: 0 / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.9326, allocations: 0 / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.9327, allocations: 174.7 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.9327, allocations: 4.797 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.035e-05/0.9328, allocations: 11.84 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.9328, allocations: 0.8438 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.9328, allocations: 5.359 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9329, allocations: 0.7969 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9329, allocations: 0.8438 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.9331, allocations: 190.8 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.9332, allocations: 79.67 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.9332, allocations: 5.391 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.9333, allocations: 11.78 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.9334, allocations: 11.17 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.9334, allocations: 2.109 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.9334, allocations: 83.73 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9334, allocations: 0 / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000228/0.9337, allocations: 14.81 kB / 1.092 GB, free: 1.793 MB / 0.8575 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.0001395/0.9338, allocations: 102.3 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.9341, allocations: 52.62 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.9341, allocations: 0.8125 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.9343, allocations: 37.28 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.9346, allocations: 6.156 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.935, allocations: 148.4 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.9351, allocations: 0.6853 MB / 1.093 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.319e-05/0.9352, allocations: 4.578 kB / 1.093 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.9352, allocations: 13.19 kB / 1.093 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9352, allocations: 0 / 1.093 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of Templates: time 0.003584/0.9388, allocations: 0.9023 MB / 1.094 GB, free: 0.7539 MB / 0.8575 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