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.00159/0.00159, allocations: 118.6 kB / 17.16 MB, free: 5.914 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.001533/0.001533, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.603/1.603, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.044/3.044, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 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.001962/0.001962, allocations: 71.91 kB / 1.165 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121/1.122, allocations: 179 MB / 1.34 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002315/1.125, allocations: 0.7725 MB / 1.341 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001345/1.126, allocations: 0.9017 MB / 1.342 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/1.126, allocations: 1.125 kB / 1.342 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/1.126, allocations: 7.875 kB / 1.342 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.925e-05/1.126, allocations: 9.031 kB / 1.342 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/1.127, allocations: 44 kB / 1.342 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/1.127, allocations: 86.05 kB / 1.342 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/1.127, allocations: 23.52 kB / 1.342 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.691e-05/1.127, allocations: 37.23 kB / 1.342 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/1.127, allocations: 45.45 kB / 1.342 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/1.127, allocations: 7.656 kB / 1.342 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/1.127, allocations: 8.594 kB / 1.342 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/1.127, allocations: 26.34 kB / 1.342 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/1.127, allocations: 34.39 kB / 1.342 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/1.127, allocations: 89.23 kB / 1.342 GB, free: 12.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.127, allocations: 1.094 kB / 1.342 GB, free: 12.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/1.127, allocations: 3.938 kB / 1.342 GB, free: 12.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.127, allocations: 0 / 1.342 GB, free: 12.17 MB / 1.029 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.0007402/1.128, allocations: 398.8 kB / 1.343 GB, free: 11.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.128, allocations: 10.47 kB / 1.343 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.496e-05/1.128, allocations: 1.656 kB / 1.343 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/1.128, allocations: 36.31 kB / 1.343 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/1.128, allocations: 12.69 kB / 1.343 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/1.128, allocations: 177.9 kB / 1.343 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/1.128, allocations: 5.969 kB / 1.343 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/1.128, allocations: 12.06 kB / 1.343 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/1.129, allocations: 104 kB / 1.343 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.129, allocations: 1.5 kB / 1.343 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/1.129, allocations: 4 kB / 1.343 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.129, allocations: 1.688 kB / 1.343 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/1.129, allocations: 99.52 kB / 1.343 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/1.13, allocations: 349.6 kB / 1.343 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/1.13, allocations: 112.4 kB / 1.343 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/1.131, allocations: 60.83 kB / 1.344 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/1.131, allocations: 4 kB / 1.344 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/1.131, allocations: 31.72 kB / 1.344 GB, free: 10.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/1.131, allocations: 0 / 1.344 GB, free: 10.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007596/1.131, allocations: 189 kB / 1.344 GB, free: 10.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/1.132, allocations: 56.47 kB / 1.344 GB, free: 10.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/1.132, allocations: 125.3 kB / 1.344 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/1.132, allocations: 25.7 kB / 1.344 GB, free: 10.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/1.132, allocations: 99.86 kB / 1.344 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/1.132, allocations: 14.86 kB / 1.344 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/1.132, allocations: 24.36 kB / 1.344 GB, free: 10.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.132, allocations: 319.9 kB / 1.344 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/1.132, allocations: 43.61 kB / 1.344 GB, free: 10.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/1.132, allocations: 48.75 kB / 1.344 GB, free: 10.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/1.133, allocations: 102.4 kB / 1.345 GB, free: 9.992 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.133, allocations: 1.062 kB / 1.345 GB, free: 9.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004632/1.133, allocations: 147.9 kB / 1.345 GB, free: 9.898 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.133, allocations: 4.75 kB / 1.345 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.133, allocations: 1.281 kB / 1.345 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.133, allocations: 0 / 1.345 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/1.133, allocations: 28.56 kB / 1.345 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.133, allocations: 3.938 kB / 1.345 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/1.134, allocations: 16.2 kB / 1.345 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/1.134, allocations: 5.594 kB / 1.345 GB, free: 9.871 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/1.134, allocations: 117.4 kB / 1.345 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/1.134, allocations: 11.61 kB / 1.345 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005193/1.134, allocations: 150.7 kB / 1.345 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.134, allocations: 1.125 kB / 1.345 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.134, allocations: 5.031 kB / 1.345 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.134, allocations: 0 / 1.345 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/1.134, allocations: 199.9 kB / 1.345 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.135, allocations: 0 / 1.345 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/1.135, allocations: 24.56 kB / 1.345 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.135, allocations: 4 kB / 1.345 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/1.135, allocations: 1.125 kB / 1.345 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.135, allocations: 5.047 kB / 1.345 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.135, allocations: 3.938 kB / 1.345 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/1.135, allocations: 235.9 kB / 1.345 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/1.135, allocations: 87.03 kB / 1.346 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/1.135, allocations: 1.094 kB / 1.346 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/1.135, allocations: 14.52 kB / 1.346 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/1.136, allocations: 30.7 kB / 1.346 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/1.136, allocations: 2.406 kB / 1.346 GB, free: 9.074 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.912e-05/1.136, allocations: 97.98 kB / 1.346 GB, free: 8.988 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/1.136, allocations: 0 / 1.346 GB, free: 8.988 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002408/1.136, allocations: 15.94 kB / 1.346 GB, free: 8.984 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.000889/1.137, allocations: 0.768 MB / 1.346 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004775/1.137, allocations: 111.5 kB / 1.347 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.137, allocations: 1.094 kB / 1.347 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/1.137, allocations: 61.42 kB / 1.347 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/1.138, allocations: 16.11 kB / 1.347 GB, free: 8.176 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/1.14, allocations: 1.535 MB / 1.348 GB, free: 6.797 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/1.141, allocations: 0.6903 MB / 1.349 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.924e-05/1.141, allocations: 18.36 kB / 1.349 GB, free: 6.082 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.907e-05/1.141, allocations: 30.27 kB / 1.349 GB, free: 6.059 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/1.141, allocations: 0 / 1.349 GB, free: 6.059 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/1.161, allocations: 2.754 MB / 1.352 GB, free: 4.617 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/9.422, allocations: 10.53 kB / 1.352 GB, free: 4.613 MB / 1.029 GB " [Timeout remaining time 290] (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: 16.172810168995056] Failed to read output from testmodel.py, exit status != 0: 9.548915897030383 9.570470238 8.439286566 Calling exit ...