Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001408/0.001408, 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.001611/0.001611, allocations: 215.9 kB / 22.25 MB, free: 4.852 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.545/1.545, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.214/3.214, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_12_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.002073/0.002073, allocations: 69.77 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3823, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002117/0.3844, allocations: 0.7538 MB / 1.326 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3856, allocations: 0.89 MB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.3857, allocations: 7.938 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.3857, allocations: 7.875 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.098e-05/0.3858, allocations: 11.86 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.386, allocations: 31.97 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.3862, allocations: 87.81 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3863, allocations: 24.27 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.31e-05/0.3864, allocations: 35.84 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.922e-05/0.3865, allocations: 51.81 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3865, allocations: 8 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.3865, allocations: 12 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.3865, allocations: 15.92 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.3866, allocations: 31.84 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.3867, allocations: 83.67 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3868, allocations: 0 / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of FrontEnd: time 4.419e-06/0.3868, allocations: 3.984 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3868, allocations: 3.938 kB / 1.327 GB, free: 340 kB / 1.014 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.0006415/0.3874, allocations: 319 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3874, allocations: 8.031 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.3875, allocations: 42.73 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.3875, allocations: 16.78 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.3877, allocations: 122.4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.3877, allocations: 8.375 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3877, allocations: 7.172 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.388, allocations: 105.6 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3881, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3881, allocations: 7.938 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3881, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.3884, allocations: 99.91 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.389, allocations: 291.8 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.3896, allocations: 114.5 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3898, allocations: 60.86 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3898, allocations: 7.938 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.3899, allocations: 30.56 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3899, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006756/0.3905, allocations: 185.4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.3906, allocations: 59.39 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3907, allocations: 121.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3907, allocations: 29.7 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.3908, allocations: 96.08 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.3908, allocations: 15.84 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.3909, allocations: 25.7 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.391, allocations: 314.8 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.3912, allocations: 43.95 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.3914, allocations: 47.95 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.3917, allocations: 104.7 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3917, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004298/0.3922, allocations: 145.5 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3922, allocations: 5.875 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3922, allocations: 3.938 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3922, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.3924, allocations: 23.97 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3924, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3925, allocations: 11.98 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3925, allocations: 8 kB / 1.329 GB, free: 13.71 MB / 1.029 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.0001122/0.3926, allocations: 118.4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.3926, allocations: 11.95 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.3932, allocations: 153.8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3932, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3932, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3932, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.3934, allocations: 164.6 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3934, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.3936, allocations: 23.97 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3936, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3936, allocations: 11.94 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3936, allocations: 4 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3936, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.3941, allocations: 232 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.3941, allocations: 15.95 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.3941, allocations: 3.938 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3943, allocations: 19.97 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.3943, allocations: 19.97 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.3944, allocations: 4 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.476e-05/0.3944, allocations: 95.2 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3944, allocations: 4 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002314/0.3947, allocations: 16 kB / 1.33 GB, free: 12.75 MB / 1.029 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.0008667/0.3955, allocations: 0.7709 MB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.396, allocations: 107.8 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.396, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.3962, allocations: 59.95 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.3965, allocations: 11.92 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.3989, allocations: 1.529 MB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.757e-05/0.399, allocations: 75.33 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.969e-05/0.399, allocations: 15.98 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/0.3991, allocations: 31.41 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3991, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.4294, allocations: 3.359 MB / 1.336 GB, free: 6.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.84, allocations: 4.016 kB / 1.336 GB, free: 6.801 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! Error: Could not read variable max1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv. Warning: Get data of variable max1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.75266361190006]