Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001229/0.001229, 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.001444/0.001444, 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.8975/0.8975, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.752/1.752, allocations: 389 MB / 0.633 GB, free: 12.69 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.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.837e-06/3.837e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.625e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001572/0.001598, allocations: 0.7523 MB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.002574, allocations: 0.8907 MB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.00262, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.002652, allocations: 7.922 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.317e-05/0.002735, allocations: 11.88 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.002918, allocations: 43.88 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.579e-05/0.003014, allocations: 83.81 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.003136, allocations: 27.86 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.00323, allocations: 51.89 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/0.003298, allocations: 39.89 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.003328, allocations: 8 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.00334, allocations: 8 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.003364, allocations: 23.91 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.003397, allocations: 23.92 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.00353, allocations: 95.69 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.003533, allocations: 3.938 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.402e-06/0.003535, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.00354, allocations: 0 / 1.002 GB, free: 11.42 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004618/0.004002, allocations: 318.1 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.004046, allocations: 12.75 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.004077, allocations: 34.75 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.00411, allocations: 12.84 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.906e-05/0.004209, allocations: 125.6 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.004223, allocations: 4.375 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.004236, allocations: 4.375 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.004441, allocations: 109.9 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004448, allocations: 4 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.004459, allocations: 0 / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.004465, allocations: 7.938 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.004665, allocations: 95.91 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.005063, allocations: 291.8 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.005433, allocations: 122.5 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.005535, allocations: 52.81 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.005555, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.005572, allocations: 34.56 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.005573, allocations: 3.938 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003975/0.00597, allocations: 193.4 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.006, allocations: 51.41 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.006082, allocations: 117.8 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.006097, allocations: 25.7 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.006141, allocations: 100 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.00616, allocations: 15.91 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.006198, allocations: 25.7 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.006277, allocations: 322.8 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.006379, allocations: 47.95 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.00647, allocations: 48.25 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.006659, allocations: 100.8 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.006661, allocations: 0 / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002287/0.00689, allocations: 141.5 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.006906, allocations: 11.94 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006911, allocations: 0 / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.006925, allocations: 0 / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.007019, allocations: 23.97 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.007024, allocations: 0 / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.007077, allocations: 11.98 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.00709, allocations: 19.91 kB / 1.004 GB, free: 8.785 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.07e-05/0.00716, allocations: 113.8 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.007178, allocations: 3.953 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.007464, allocations: 157.9 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.007467, allocations: 0 / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.007474, allocations: 3.984 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.007477, allocations: 4 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.007619, allocations: 164.6 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.007621, allocations: 0 / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/0.007694, allocations: 27.91 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.007697, allocations: 0 / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.007706, allocations: 4 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007708, allocations: 0 / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.007709, allocations: 0 / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.007983, allocations: 243.3 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.007998, allocations: 11.94 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.008012, allocations: 0 / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.008077, allocations: 11.98 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.008142, allocations: 19.97 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.008148, allocations: 4 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.00819, allocations: 95.27 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00819, allocations: 0 / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001645/0.008354, allocations: 19.94 kB / 1.005 GB, free: 7.844 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005138/0.008868, allocations: 0.7593 MB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.009144, allocations: 108.3 kB / 1.006 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009146, allocations: 0 / 1.006 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.009263, allocations: 67.92 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.009573, allocations: 10.23 kB / 1.006 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.01104, allocations: 1.543 MB / 1.007 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.143e-05/0.01109, allocations: 75.33 kB / 1.007 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.762e-05/0.01113, allocations: 8 kB / 1.007 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.0112, allocations: 32.67 kB / 1.007 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of SimCode: time 9.92e-07/0.0112, allocations: 0 / 1.007 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.03014, allocations: 3.5 MB / 1.011 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/6.758, allocations: 12.58 kB / 1.011 GB, free: 1.746 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_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_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable max1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.945048652589321]