Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001853/0.001853, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002324/0.002324, allocations: 213.4 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.941/2.941, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 68.61 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3427, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002364/0.3451, allocations: 0.746 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3466, allocations: 0.8938 MB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.3467, allocations: 0 / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.3467, allocations: 7.875 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.405e-05/0.3468, allocations: 15.86 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.347, allocations: 39.95 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.3472, allocations: 83.77 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3473, allocations: 29.66 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3474, allocations: 35.91 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.3475, allocations: 43.81 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.3475, allocations: 8 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.3476, allocations: 8 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.3476, allocations: 23.92 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.3476, allocations: 23.86 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.3478, allocations: 95.12 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3478, allocations: 3.984 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3478, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3478, allocations: 4 kB / 1.285 GB, free: 10.4 MB / 0.9825 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.0007099/0.3485, allocations: 318 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3486, allocations: 8.031 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.3486, allocations: 42.73 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.3487, allocations: 8.891 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.3488, allocations: 114.5 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.3489, allocations: 4.375 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.3489, allocations: 16.06 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.3492, allocations: 117.6 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3492, allocations: 0 / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3492, allocations: 0 / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3492, allocations: 0 / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.3496, allocations: 95.91 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.3502, allocations: 291.7 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.3509, allocations: 122.6 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.3511, allocations: 52.8 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.3511, allocations: 0 / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.3511, allocations: 38.56 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3511, allocations: 0 / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000691/0.3518, allocations: 189.4 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3519, allocations: 51.41 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.352, allocations: 129.7 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.352, allocations: 25.7 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.3521, allocations: 100 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.3521, allocations: 19.84 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.3522, allocations: 21.7 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3523, allocations: 322.8 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.3525, allocations: 43.95 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.3527, allocations: 51.88 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.3531, allocations: 96.72 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3531, allocations: 4 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004184/0.3535, allocations: 141.5 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3535, allocations: 4 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3535, allocations: 0 / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3535, allocations: 4 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.3537, allocations: 23.97 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3537, allocations: 3.938 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.3538, allocations: 19.98 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3538, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 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 0.0001222/0.354, allocations: 121.8 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.354, allocations: 7.953 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004939/0.3545, allocations: 146 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3545, allocations: 8 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3545, allocations: 3.938 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3545, allocations: 0 / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.3547, allocations: 164.7 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3547, allocations: 0 / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.3549, allocations: 23.97 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3549, allocations: 0 / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3549, allocations: 0 / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.3549, allocations: 0 / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3549, allocations: 7.875 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.3554, allocations: 237.9 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.3554, allocations: 7.891 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.3554, allocations: 4 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3556, allocations: 15.97 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.3557, allocations: 27.84 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3557, allocations: 4 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.914e-05/0.3558, allocations: 99.27 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3558, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000239/0.356, allocations: 15.95 kB / 1.288 GB, free: 6.824 MB / 0.9825 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.0009591/0.357, allocations: 0.7701 MB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.3574, allocations: 107.9 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3574, allocations: 0 / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.3576, allocations: 59.89 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.358, allocations: 21.58 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.3606, allocations: 1.537 MB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.439e-05/0.3607, allocations: 75.33 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.346e-05/0.3608, allocations: 11.98 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.3609, allocations: 31.42 kB / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of SimCode: time 1.322e-06/0.3609, allocations: 4 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.3946, allocations: 3.352 MB / 1.294 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.74, allocations: 4.766 kB / 1.294 GB, free: 0.8789 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.769416777417064]