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.001284/0.001284, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001514/0.001514, allocations: 221.2 kB / 23.03 MB, free: 4.945 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.353/3.353, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="cs",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.002184/0.002184, allocations: 61.75 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3981, allocations: 179 MB / 1.345 GB, free: 20 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.003085/0.4012, allocations: 0.7602 MB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.4031, allocations: 0.8782 MB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.4032, allocations: 4 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.197e-05/0.4032, allocations: 3.938 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.4033, allocations: 15.86 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.4036, allocations: 47.84 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.4038, allocations: 87.86 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.4039, allocations: 20.28 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.4041, allocations: 39.78 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.4042, allocations: 51.81 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.4042, allocations: 8 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.55e-05/0.4043, allocations: 8 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.4043, allocations: 19.92 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.4044, allocations: 35.84 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.4046, allocations: 83.66 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4046, allocations: 4 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4046, allocations: 0 / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.4046, allocations: 0 / 1.347 GB, free: 13.94 MB / 1.045 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.0008588/0.4055, allocations: 322 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.4055, allocations: 12.03 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.429e-05/0.4055, allocations: 192 / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.563e-05/0.4056, allocations: 38.75 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.4057, allocations: 8.891 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.4058, allocations: 130.2 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.4059, allocations: 12.38 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.4059, allocations: 7.938 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.4064, allocations: 101.6 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4064, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.4065, allocations: 4 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4065, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/0.407, allocations: 99.84 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000763/0.4078, allocations: 295.8 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009046/0.4087, allocations: 118.5 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.409, allocations: 52.81 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.409, allocations: 0 / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.409, allocations: 34.56 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.409, allocations: 4 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0009905/0.41, allocations: 181.5 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.4101, allocations: 55.34 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.4102, allocations: 117.8 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.4103, allocations: 29.7 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.4104, allocations: 100 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.4104, allocations: 27.78 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.4105, allocations: 25.7 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4107, allocations: 322.8 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.411, allocations: 43.95 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.4112, allocations: 43.95 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.4118, allocations: 92.78 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4118, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006801/0.4125, allocations: 142 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4125, allocations: 6.344 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4125, allocations: 0 / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4125, allocations: 4 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.4128, allocations: 31.91 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.4128, allocations: 4.016 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.413, allocations: 15.98 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.413, allocations: 7.969 kB / 1.35 GB, free: 11.31 MB / 1.045 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.0001465/0.4131, allocations: 113.8 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.4132, allocations: 7.953 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007012/0.4139, allocations: 149.9 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4139, allocations: 4 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.4139, allocations: 11.86 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4139, allocations: 0 / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.4142, allocations: 160.7 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.4142, allocations: 4 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.4145, allocations: 31.89 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4145, allocations: 0 / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.4145, allocations: 4 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4145, allocations: 0 / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.4145, allocations: 3.938 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007925/0.4153, allocations: 235.4 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.4153, allocations: 15.94 kB / 1.35 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.4154, allocations: 4 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.4156, allocations: 11.98 kB / 1.35 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.4158, allocations: 31.84 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.4158, allocations: 0 / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001027/0.4159, allocations: 95.27 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4159, allocations: 0 / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004358/0.4163, allocations: 16 kB / 1.351 GB, free: 10.35 MB / 1.045 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.001506/0.4178, allocations: 0.7632 MB / 1.351 GB, free: 9.562 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007746/0.4186, allocations: 103.8 kB / 1.351 GB, free: 9.461 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4186, allocations: 0 / 1.351 GB, free: 9.461 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.419, allocations: 63.88 kB / 1.351 GB, free: 9.398 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.4196, allocations: 11.94 kB / 1.351 GB, free: 9.387 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.4237, allocations: 1.537 MB / 1.353 GB, free: 7.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.4238, allocations: 83.08 kB / 1.353 GB, free: 7.668 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.424, allocations: 8 kB / 1.353 GB, free: 7.66 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.4241, allocations: 31.42 kB / 1.353 GB, free: 7.629 MB / 1.045 GB Notification: Performance of SimCode: time 7.71e-07/0.4241, allocations: 0 / 1.353 GB, free: 7.629 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.4633, allocations: 2.994 MB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.69, allocations: 5.938 kB / 1.356 GB, free: 4.785 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 18.802050246973522] Failed to read output from testmodel.py, exit status != 0: 11.85791089409031 11.886458442 11.476275503 Calling exit ...