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.001717/0.001717, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001652/0.001652, allocations: 216.3 kB / 23.04 MB, free: 5.074 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.369/3.369, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 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.002024/0.002024, allocations: 69.72 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4032, allocations: 179 MB / 1.345 GB, free: 416 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002383/0.4056, allocations: 0.7822 MB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.4068, allocations: 0.8976 MB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.4069, allocations: 4 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.71e-05/0.4069, allocations: 11.86 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.407, allocations: 11.86 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.4073, allocations: 43.95 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.4074, allocations: 83.81 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.4076, allocations: 24.2 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.4077, allocations: 35.92 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.4078, allocations: 47.81 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.4078, allocations: 8 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.636e-05/0.4078, allocations: 8 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.4079, allocations: 23.92 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.4079, allocations: 35.78 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.4081, allocations: 91.59 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4081, allocations: 4 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4081, allocations: 4 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.4081, allocations: 0 / 1.347 GB, free: 14.29 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.0007021/0.4088, allocations: 318 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4088, allocations: 8.031 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.292e-05/0.4089, allocations: 4.188 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.4089, allocations: 34.75 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.4089, allocations: 8.891 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.4091, allocations: 126.4 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4091, allocations: 8.312 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.4091, allocations: 7.938 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.4095, allocations: 117.5 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4095, allocations: 0 / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4095, allocations: 0 / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4095, allocations: 4 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.4099, allocations: 95.89 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.4104, allocations: 315.7 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/0.4111, allocations: 114.6 kB / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.4113, allocations: 52.81 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.4113, allocations: 4 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.4113, allocations: 30.56 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4113, allocations: 0 / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0007132/0.4121, allocations: 189.4 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.4121, allocations: 55.34 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.4122, allocations: 117.8 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.4122, allocations: 29.7 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.4123, allocations: 100 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4124, allocations: 27.78 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.4124, allocations: 25.7 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4126, allocations: 322.8 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.4128, allocations: 43.95 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.4129, allocations: 43.95 kB / 1.35 GB, free: 11.94 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.4133, allocations: 100.7 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4133, allocations: 0 / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004117/0.4137, allocations: 133.5 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4137, allocations: 4 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.4137, allocations: 0 / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4138, allocations: 4 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.4139, allocations: 31.91 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4139, allocations: 7.938 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.4141, allocations: 11.97 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.4141, allocations: 4 kB / 1.35 GB, free: 11.64 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 9.551e-05/0.4142, allocations: 113.8 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.4142, allocations: 11.89 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.4147, allocations: 154.5 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4147, allocations: 0 / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4147, allocations: 3.938 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4147, allocations: 4 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.415, allocations: 164.6 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.415, allocations: 3.984 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.4151, allocations: 31.97 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4151, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.4151, allocations: 4 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4151, allocations: 0 / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4151, allocations: 3.938 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.4156, allocations: 243.4 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.4156, allocations: 15.95 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.4157, allocations: 4 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.4158, allocations: 11.98 kB / 1.351 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.4159, allocations: 23.91 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.4159, allocations: 7.984 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.868e-05/0.416, allocations: 91.27 kB / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.416, allocations: 0 / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002293/0.4162, allocations: 20 kB / 1.351 GB, free: 10.67 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.0008038/0.417, allocations: 0.7631 MB / 1.351 GB, free: 9.883 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.4174, allocations: 103.9 kB / 1.352 GB, free: 9.781 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4174, allocations: 3.938 kB / 1.352 GB, free: 9.777 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.4176, allocations: 59.89 kB / 1.352 GB, free: 9.719 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.418, allocations: 11.94 kB / 1.352 GB, free: 9.707 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.4203, allocations: 1.533 MB / 1.353 GB, free: 8.094 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4207, allocations: 0.6961 MB / 1.354 GB, free: 7.371 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.787e-05/0.4207, allocations: 15.73 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.4208, allocations: 35.42 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of SimCode: time 7.12e-07/0.4208, allocations: 0 / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.4448, allocations: 2.875 MB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.77, allocations: 8 kB / 1.357 GB, free: 4.578 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.834636444982607] Failed to read output from testmodel.py, exit status != 0: 11.937244968954474 11.968805376 11.555406547 Calling exit ...