Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008372/0.0008372, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007956/0.0007956, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9151/0.9151, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.706/1.706, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.709e-05, allocations: 4.953 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001573/0.0016, allocations: 0.7057 MB / 0.9817 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008236/0.002424, allocations: 0.8471 MB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.00246, allocations: 0 / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.00249, allocations: 3.938 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.131e-05/0.002571, allocations: 11.88 kB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.002722, allocations: 23.92 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.113e-05/0.002803, allocations: 47.89 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.002906, allocations: 8 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.00298, allocations: 31.91 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.003033, allocations: 23.91 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.003059, allocations: 4 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.003068, allocations: 4 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.00309, allocations: 15.92 kB / 0.9827 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.003114, allocations: 8 kB / 0.9827 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.935e-05/0.003213, allocations: 51.78 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.003218, allocations: 3.984 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.51e-07/0.003219, allocations: 0 / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.003224, allocations: 4 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 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.0003946/0.003618, allocations: 282.2 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.003656, allocations: 12.03 kB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.003688, allocations: 30.75 kB / 0.983 GB, free: 428 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.003713, allocations: 8.891 kB / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.251e-05/0.003805, allocations: 109.8 kB / 0.9831 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.003819, allocations: 384 / 0.9831 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.003829, allocations: 4.375 kB / 0.9831 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.003963, allocations: 69.91 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.00397, allocations: 4 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.00398, allocations: 4 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.003986, allocations: 7.984 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.004096, allocations: 47.94 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.004436, allocations: 263.8 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.004563, allocations: 62.48 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.004621, allocations: 28.91 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.004636, allocations: 8 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.004655, allocations: 38.5 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.004656, allocations: 3.938 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002688/0.004925, allocations: 101.6 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.004956, allocations: 51.41 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.005029, allocations: 113.8 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.00504, allocations: 29.7 kB / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.005093, allocations: 88.09 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.00511, allocations: 11.94 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.005142, allocations: 21.72 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.005238, allocations: 314.8 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.005297, allocations: 23.97 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.005344, allocations: 23.97 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.005485, allocations: 60.81 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.005487, allocations: 0 / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001387/0.005626, allocations: 85.61 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.005644, allocations: 4 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.00565, allocations: 3.938 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.005664, allocations: 0 / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.005748, allocations: 11.98 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.005755, allocations: 320 / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.00579, allocations: 7.984 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.005795, allocations: 4 kB / 0.9846 GB, free: 14.68 MB / 0.948 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 7.632e-05/0.005872, allocations: 125.8 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.005885, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.005908, allocations: 8 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.005911, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.005916, allocations: 4 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.00592, allocations: 0 / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.006053, allocations: 144.6 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.006055, allocations: 3.984 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.00609, allocations: 11.98 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006092, allocations: 336 / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.0061, allocations: 8 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.0061, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.006104, allocations: 7.922 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.006279, allocations: 187.4 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.006289, allocations: 7.953 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.006306, allocations: 0 / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.764e-05/0.006354, allocations: 7.984 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.006416, allocations: 11.98 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.006419, allocations: 0 / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.00646, allocations: 95.27 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00646, allocations: 3.938 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001573/0.006617, allocations: 8 kB / 0.9852 GB, free: 13.98 MB / 0.948 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.0004198/0.007037, allocations: 0.7085 MB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.0072, allocations: 59.94 kB / 0.9859 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007201, allocations: 4 kB / 0.9859 GB, free: 13.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.007256, allocations: 27.98 kB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.007543, allocations: 8.062 kB / 0.986 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.008694, allocations: 1.335 MB / 0.9873 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.816e-05/0.008742, allocations: 67.34 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.008774, allocations: 4.25 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.008823, allocations: 20.48 kB / 0.9874 GB, free: 11.62 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.008824, allocations: 0 / 0.9874 GB, free: 11.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.02453, allocations: 2.558 MB / 0.9899 GB, free: 9.211 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/6.775, allocations: 3.906 kB / 0.9899 GB, free: 9.211 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intGreThr.t in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.t from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.u in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.u from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.996349522843957]