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.001577/0.001577, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001955/0.001955, allocations: 219.3 kB / 22.26 MB, free: 5.125 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.008 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.78/2.78, allocations: 476.8 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] 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.002054/0.002054, allocations: 68.02 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3186, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002357/0.321, allocations: 0.7836 MB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3222, allocations: 0.8978 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.3222, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.933e-05/0.3223, allocations: 7.875 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.578e-05/0.3224, allocations: 11.88 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.3226, allocations: 35.95 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3227, allocations: 91.75 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3229, allocations: 19.98 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.819e-05/0.3229, allocations: 39.91 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.323, allocations: 47.83 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.3231, allocations: 8 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.3231, allocations: 8 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.3231, allocations: 27.84 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.3232, allocations: 39.78 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.3233, allocations: 83.19 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3233, allocations: 0 / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3233, allocations: 3.938 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3234, allocations: 0 / 1.285 GB, free: 9.621 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.0007882/0.3241, allocations: 326 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.3242, allocations: 12.03 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.3242, allocations: 38.73 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.3243, allocations: 8.891 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3245, allocations: 118.4 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3245, allocations: 4.375 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.3245, allocations: 8.125 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.3248, allocations: 109.6 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3248, allocations: 3.938 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3248, allocations: 4 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.3249, allocations: 4 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.3252, allocations: 95.89 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.3258, allocations: 311.8 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.3264, allocations: 114.5 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.3266, allocations: 60.8 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.3266, allocations: 4 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3266, allocations: 30.56 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3266, allocations: 0 / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006638/0.3273, allocations: 189.7 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3273, allocations: 55.41 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3274, allocations: 125.8 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3275, allocations: 25.7 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.3275, allocations: 96.09 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.3275, allocations: 19.83 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.3276, allocations: 25.7 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3277, allocations: 314.8 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.3279, allocations: 51.89 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3281, allocations: 52.02 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.3284, allocations: 92.77 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3284, allocations: 0 / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004099/0.3288, allocations: 145.5 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3288, allocations: 10.33 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3288, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.3289, allocations: 4 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.329, allocations: 23.97 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3291, allocations: 3.938 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.3292, allocations: 27.88 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3292, allocations: 0 / 1.288 GB, free: 6.965 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.0001375/0.3293, allocations: 113.8 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.3294, allocations: 4 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.3299, allocations: 153.9 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3299, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/0.3299, allocations: 11.94 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3299, allocations: 0 / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.3301, allocations: 172.6 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3301, allocations: 0 / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.3303, allocations: 23.97 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3303, allocations: 4 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3303, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3303, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3303, allocations: 3.938 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.3308, allocations: 245.1 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.3308, allocations: 4 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3309, allocations: 3.984 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.331, allocations: 19.98 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.3311, allocations: 23.91 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.3311, allocations: 4 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.207e-05/0.3312, allocations: 91.27 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3312, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002442/0.3314, allocations: 19.89 kB / 1.289 GB, free: 6.008 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.0008932/0.3323, allocations: 0.7632 MB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.3328, allocations: 108.3 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.3328, allocations: 4 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.333, allocations: 64.05 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.3334, allocations: 12.08 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.3359, allocations: 1.539 MB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3362, allocations: 0.6885 MB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.628e-05/0.3363, allocations: 12 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.36e-05/0.3364, allocations: 31.42 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of SimCode: time 7.82e-07/0.3364, allocations: 192 / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03875/0.3751, allocations: 2.853 MB / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.28, allocations: 2.438 kB / 1.295 GB, free: 15.94 MB / 0.9981 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.09336347399949]