Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00146/0.00146, allocations: 98.08 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.001653/0.001653, allocations: 210.6 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.078 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.362/3.362, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_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.002002/0.002002, allocations: 66.08 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3708, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002085/0.3729, allocations: 0.7836 MB / 1.346 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3742, allocations: 0.8977 MB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.3743, allocations: 4 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.02e-05/0.3743, allocations: 7.875 kB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.3744, allocations: 11.88 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.3747, allocations: 39.95 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3748, allocations: 91.75 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.375, allocations: 20.2 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.122e-05/0.375, allocations: 39.91 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.3751, allocations: 47.81 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.3752, allocations: 8 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.3752, allocations: 8 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.3752, allocations: 23.92 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.3753, allocations: 39.78 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.3754, allocations: 87.67 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3754, allocations: 3.938 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3754, allocations: 0 / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3754, allocations: 0 / 1.347 GB, free: 14.37 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.0006809/0.3761, allocations: 318 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3762, allocations: 8.031 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.572e-05/0.3762, allocations: 4.188 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.3762, allocations: 42.73 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.3763, allocations: 8.891 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.3764, allocations: 126.4 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3764, allocations: 384 / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3764, allocations: 7.938 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.3768, allocations: 110.9 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3768, allocations: 3.984 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3768, allocations: 0 / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3768, allocations: 8 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.3772, allocations: 91.91 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.3777, allocations: 307.8 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.3783, allocations: 118.5 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.3785, allocations: 56.81 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3786, allocations: 0 / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3786, allocations: 38.55 kB / 1.349 GB, free: 13.01 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3786, allocations: 0 / 1.349 GB, free: 13.01 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006921/0.3793, allocations: 189.4 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3793, allocations: 55.34 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3795, allocations: 121.8 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3795, allocations: 29.7 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.3795, allocations: 96.09 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.3796, allocations: 27.78 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.3796, allocations: 21.7 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3798, allocations: 318.8 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.38, allocations: 43.95 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.3801, allocations: 43.95 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.3805, allocations: 100.8 kB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3805, allocations: 0 / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004226/0.3809, allocations: 141.4 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3809, allocations: 8 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3809, allocations: 3.938 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.381, allocations: 4 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3811, allocations: 27.97 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3811, allocations: 3.938 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.3813, allocations: 11.98 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3813, allocations: 0 / 1.35 GB, free: 11.73 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,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.0001076/0.3814, allocations: 117.8 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.3814, allocations: 11.95 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.3819, allocations: 150.4 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3819, allocations: 0 / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3819, allocations: 7.938 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3819, allocations: 0 / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.3822, allocations: 168.6 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3822, allocations: 4 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3823, allocations: 27.97 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3823, allocations: 4 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3823, allocations: 0 / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3823, allocations: 0 / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3823, allocations: 3.938 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.3828, allocations: 243.4 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.3828, allocations: 15.94 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.3829, allocations: 4 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.383, allocations: 11.98 kB / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.3831, allocations: 27.89 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.3831, allocations: 4 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.733e-05/0.3832, allocations: 99.64 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3832, allocations: 0 / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002316/0.3834, allocations: 16 kB / 1.351 GB, free: 10.75 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 (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.0008094/0.3842, allocations: 0.7709 MB / 1.351 GB, free: 9.957 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.3846, allocations: 99.89 kB / 1.352 GB, free: 9.859 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3846, allocations: 0 / 1.352 GB, free: 9.859 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.3849, allocations: 71.86 kB / 1.352 GB, free: 9.789 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.3852, allocations: 15.94 kB / 1.352 GB, free: 9.773 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.3874, allocations: 1.524 MB / 1.353 GB, free: 8.168 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3878, allocations: 0.7 MB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.608e-05/0.3878, allocations: 11.75 kB / 1.354 GB, free: 7.43 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.962e-05/0.3879, allocations: 31.42 kB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3879, allocations: 0 / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.4108, allocations: 2.871 MB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.66, allocations: 9.234 kB / 1.357 GB, free: 4.664 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.73134952300461] Failed to read output from testmodel.py, exit status != 0: 11.817265435005538 11.834691136 11.455531698 Calling exit ...