Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0008491/0.0008491, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008494/0.0008494, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8712/0.8712, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.309e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001693/0.001716, allocations: 0.6824 MB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.002537, allocations: 0.8665 MB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.002583, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.002613, allocations: 3.938 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.002685, allocations: 0 / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.002833, allocations: 31.84 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.239e-05/0.002906, allocations: 43.91 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.002999, allocations: 8 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.16e-05/0.003071, allocations: 27.91 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.00312, allocations: 23.97 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.003142, allocations: 7.938 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.003151, allocations: 8 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.003168, allocations: 11.98 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.003189, allocations: 4 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.84e-05/0.003278, allocations: 55.78 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00328, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.272e-06/0.003281, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003285, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 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.000371/0.003656, allocations: 278.3 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.003696, allocations: 8.75 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.003728, allocations: 38.73 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.003754, allocations: 8.891 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.003857, allocations: 125.6 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.003871, allocations: 4.375 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.00388, allocations: 384 / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.004016, allocations: 69.97 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004023, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.004032, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.004036, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.004152, allocations: 55.94 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.004491, allocations: 252.7 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.004621, allocations: 66.47 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.004678, allocations: 28.92 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.004704, allocations: 3.984 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.004724, allocations: 30.56 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.004725, allocations: 0 / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002705/0.004996, allocations: 121.5 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.005027, allocations: 51.41 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.005095, allocations: 113.8 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.005109, allocations: 29.7 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.005151, allocations: 80.14 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.00517, allocations: 19.84 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.0052, allocations: 17.7 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.005283, allocations: 318.8 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.564e-05/0.005338, allocations: 23.97 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/0.005386, allocations: 27.98 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.005483, allocations: 52.75 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.005486, allocations: 4 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001261/0.005612, allocations: 89.58 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.005623, allocations: 4 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.005628, allocations: 0 / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.005641, allocations: 4 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.581e-05/0.005717, allocations: 11.98 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.005721, allocations: 0 / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/0.005756, allocations: 11.98 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.00576, allocations: 0 / 1.003 GB, free: 9.598 MB / 0.9636 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,intLesEquThr.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.771e-05/0.005818, allocations: 117.8 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.005832, allocations: 3.953 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.005851, allocations: 8 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.005853, allocations: 4 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.005859, allocations: 3.984 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.005861, allocations: 4 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.005969, allocations: 140.8 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.005969, allocations: 4 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.006004, allocations: 15.86 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006006, allocations: 4 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.006013, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006014, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006015, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.006167, allocations: 179.4 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.006176, allocations: 15.95 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.006187, allocations: 3.984 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.006231, allocations: 4 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.00628, allocations: 12.36 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.006284, allocations: 3.984 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.006312, allocations: 87.28 kB / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006313, allocations: 0 / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001506/0.006463, allocations: 8 kB / 1.004 GB, free: 8.914 MB / 0.9636 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 (intLesEquThr.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.0003352/0.006798, allocations: 0.724 MB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.006951, allocations: 55.95 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006952, allocations: 0 / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.00701, allocations: 31.91 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.007229, allocations: 7.781 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.008261, allocations: 1.327 MB / 1.006 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.008307, allocations: 67.34 kB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.008341, allocations: 7.984 kB / 1.006 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.008391, allocations: 20.44 kB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of SimCode: time 7.02e-07/0.008392, allocations: 3.938 kB / 1.006 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.02424, allocations: 2.569 MB / 1.009 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/6.814, allocations: 0 / 1.009 GB, free: 4.121 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intLesEquThr.t in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.t from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.975441610440612]