Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001415/0.001415, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001788/0.001788, allocations: 218 kB / 23.03 MB, free: 4.922 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.492/1.492, 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 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.812/2.812, allocations: 476.8 MB / 0.7715 GB, free: 3.844 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.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.00204/0.00204, allocations: 65.5 kB / 1.118 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3742, allocations: 170 MB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002049/0.3763, allocations: 0.7417 MB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.3774, allocations: 0.8862 MB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.3774, allocations: 4 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.3775, allocations: 7.875 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.3776, allocations: 7.875 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.3777, allocations: 39.95 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.3779, allocations: 91.75 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.378, allocations: 19.5 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.3781, allocations: 43.84 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.3782, allocations: 47.83 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.3782, allocations: 12 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.824e-05/0.3782, allocations: 8 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.3783, allocations: 27.89 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.3783, allocations: 31.86 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.3784, allocations: 81.08 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3784, allocations: 3.938 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3784, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3785, allocations: 0 / 1.286 GB, free: 8.531 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.0006472/0.3791, allocations: 322 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3791, allocations: 16.03 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.801e-05/0.3792, allocations: 192 / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.3792, allocations: 42.73 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.3792, allocations: 8.891 kB / 1.286 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3794, allocations: 118.4 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3794, allocations: 8.375 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.3794, allocations: 7.938 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.3798, allocations: 105.5 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3798, allocations: 4 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3798, allocations: 12 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3798, allocations: 3.984 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.3802, allocations: 91.91 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.3807, allocations: 295.8 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.3814, allocations: 114.6 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.3816, allocations: 56.81 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3816, allocations: 3.984 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3816, allocations: 34.56 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3816, allocations: 0 / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006893/0.3823, allocations: 189.4 kB / 1.287 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3823, allocations: 59.34 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3825, allocations: 121.8 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3825, allocations: 25.7 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.3825, allocations: 97.89 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.3826, allocations: 15.83 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3827, allocations: 29.7 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3829, allocations: 314.8 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.383, allocations: 47.95 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.3832, allocations: 47.95 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.3836, allocations: 96.7 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3836, allocations: 0 / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004125/0.384, allocations: 141.5 kB / 1.288 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.384, allocations: 4 kB / 1.288 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.384, allocations: 7.922 kB / 1.288 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.384, allocations: 4 kB / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.3842, allocations: 23.97 kB / 1.288 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3842, allocations: 3.938 kB / 1.288 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.3843, allocations: 15.98 kB / 1.288 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3843, allocations: 0 / 1.288 GB, free: 5.898 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,min1.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.0001145/0.3845, allocations: 125.8 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.3845, allocations: 11.89 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/0.385, allocations: 145.9 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.385, allocations: 4 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.385, allocations: 3.938 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.385, allocations: 4 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.3852, allocations: 160.6 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3852, allocations: 0 / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.3854, allocations: 31.97 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3854, allocations: 0 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3854, allocations: 0 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3854, allocations: 0 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3854, allocations: 3.938 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.3859, allocations: 239.4 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.3859, allocations: 3.953 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.3859, allocations: 8 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3861, allocations: 15.97 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.3862, allocations: 27.91 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.3862, allocations: 0 / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.306e-05/0.3863, allocations: 95.27 kB / 1.289 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3863, allocations: 0 / 1.289 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000246/0.3865, allocations: 19.95 kB / 1.289 GB, free: 4.938 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 (min1.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.000809/0.3873, allocations: 0.7638 MB / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.3877, allocations: 104 kB / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3877, allocations: 4 kB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.3879, allocations: 63.89 kB / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3883, allocations: 15.91 kB / 1.29 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.3906, allocations: 1.541 MB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.525e-05/0.3907, allocations: 75.33 kB / 1.292 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.821e-05/0.3908, allocations: 15.98 kB / 1.292 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.3908, allocations: 27.42 kB / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3908, allocations: 0 / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.4157, allocations: 2.989 MB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.81, allocations: 4.812 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.60002843104303] Failed to read output from testmodel.py, exit status != 0: 12.597621654975228 11.988895906 11.607182549000001 Calling exit ...