Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0007812/0.0007812, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007878/0.0007878, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9221/0.9221, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.76/1.76, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.LessThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.677e-06/3.677e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.683e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001977/0.002004, allocations: 0.7005 MB / 0.9817 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003149, allocations: 0.8548 MB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.003196, allocations: 0 / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.003228, allocations: 3.938 kB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.487e-05/0.003313, allocations: 19.84 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.003491, allocations: 15.98 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.003595, allocations: 51.84 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.00372, allocations: 11.98 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.003814, allocations: 27.91 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.003878, allocations: 15.98 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.003909, allocations: 4 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.00392, allocations: 4 kB / 0.9826 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.003945, allocations: 19.91 kB / 0.9827 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.003971, allocations: 8 kB / 0.9827 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.004088, allocations: 59.78 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.004091, allocations: 0 / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.004e-06/0.004093, allocations: 0 / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.004098, allocations: 0 / 0.9827 GB, free: 0.7578 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.0004974/0.004595, allocations: 278.3 kB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.004641, allocations: 12.03 kB / 0.983 GB, free: 456 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.00468, allocations: 34.73 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.004708, allocations: 4.891 kB / 0.983 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.004825, allocations: 113.7 kB / 0.9831 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.004845, allocations: 12.38 kB / 0.9832 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.004857, allocations: 8.312 kB / 0.9832 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.005047, allocations: 69.97 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005055, allocations: 0 / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.005065, allocations: 0 / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.00507, allocations: 0 / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.005245, allocations: 55.94 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.005733, allocations: 255.9 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.005923, allocations: 70.47 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.006008, allocations: 24.92 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.006027, allocations: 3.938 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.006053, allocations: 38.55 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.006055, allocations: 0 / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.000383/0.006438, allocations: 109.6 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.006478, allocations: 51.41 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.529e-05/0.006564, allocations: 109.8 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.006578, allocations: 29.64 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.006633, allocations: 92.09 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.006656, allocations: 11.89 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.006702, allocations: 17.7 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.006807, allocations: 322.8 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.006891, allocations: 23.97 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/0.006963, allocations: 19.98 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.007118, allocations: 52.81 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.007123, allocations: 4 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002101/0.007333, allocations: 89.53 kB / 0.9845 GB, free: 14.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.007349, allocations: 8 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007354, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.007374, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.007479, allocations: 11.98 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.007485, allocations: 320 / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.007541, allocations: 11.98 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.00755, allocations: 4 kB / 0.9846 GB, free: 14.65 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,intLesThr.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 8.244e-05/0.007632, allocations: 113.8 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.00766, allocations: 4.328 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.007684, allocations: 7.984 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.007688, allocations: 3.984 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.007693, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.007696, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.007868, allocations: 144.6 kB / 0.9848 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.00787, allocations: 0 / 0.9848 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.868e-05/0.007939, allocations: 15.98 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.007942, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.007956, allocations: 7.984 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007958, allocations: 4 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.007963, allocations: 7.922 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.008209, allocations: 175.4 kB / 0.985 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.008223, allocations: 11.95 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.008238, allocations: 4 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.008329, allocations: 15.92 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.008391, allocations: 11.98 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.008397, allocations: 0 / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.00844, allocations: 91.22 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.00844, allocations: 0 / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002785/0.008718, allocations: 4 kB / 0.9852 GB, free: 13.97 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 (intLesThr.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.0005125/0.009231, allocations: 0.7162 MB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.009454, allocations: 55.95 kB / 0.9859 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.009456, allocations: 0 / 0.9859 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.009544, allocations: 35.91 kB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.009898, allocations: 5.891 kB / 0.986 GB, free: 13.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.01133, allocations: 1.331 MB / 0.9873 GB, free: 11.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.143e-05/0.0114, allocations: 71.33 kB / 0.9873 GB, free: 11.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.473e-05/0.01144, allocations: 256 / 0.9873 GB, free: 11.63 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.0115, allocations: 16.5 kB / 0.9874 GB, free: 11.61 MB / 0.948 GB Notification: Performance of SimCode: time 8.81e-07/0.0115, allocations: 0 / 0.9874 GB, free: 11.61 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.029, allocations: 2.565 MB / 0.9899 GB, free: 9.191 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.603/6.632, allocations: 1.172 kB / 0.9899 GB, free: 9.191 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_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_LessThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intLesThr.t in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.t from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.u in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.u from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.833514055237174]